Post by petsil » Fri Nov 02, 2018 11:49 pm

Hello,
I try to install and enable Klarna checkout, invoice and Account.
Installation can be done OK.

When I try to enable module Klarna checkout, I get message: Success: You have modified module Klarna Checkout!
But still status is Disabled.

When I go to Payment Klarna checkout:
First I get message: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data OK
But when I fill all the informations, select enable and save, status is Enabled

When I try to get Klarna Invoice OR Klarna Account to enable
I get the success message, but still they both stays Disabled and won't enable.

Can anyone help, please!

I tried already to follow these instructions : [v3.0.2.0 - Fix] - Klarna Checkout Payment Services #6014
But it didn't help my problem.

Thank you in advance!

Newbie

Posts

Joined
Tue Jan 16, 2018 3:17 am

Post by straightlight » Sat Nov 03, 2018 4:23 am

I tried already to follow these instructions : [v3.0.2.0 - Fix] - Klarna Checkout Payment Services #6014
But it didn't help my problem.
No OC version posted, no details about the implementation nor the topic has been provided. More information is needed.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by petsil » Sat Nov 03, 2018 10:36 pm

Sorry,
My mistake!

OC version: Version 3.0.2.0
Theme: Default store theme
Layout: Default

Modification list:
- Apply Coupons, Gift Vouchers, Reward Points on checkout Step Voldemaras Birskys 3.0.2.0
- Import / Export Pro DevmanExtensions 8.1.8 Enabled
- Minimum Order Total 3.0.x.x Enabled
- Show Home Link in Menu Harnish Design 1.1 Enabled
- Ⓟ Price Input Helper - enter price with tax 1.Partneris 4.0.1 Enabled
- EU Cookie Law OPC3 1.0 Enabled

Language:
Translated to Finnish

Klarna Checkout extension module was included in the OC 3.0.2.0
Klarna Account payment extension was included in the OC 3.0.2.0
Klarna Checkout payment extension was included in the OC 3.0.2.0
Klarna Account payment extension was included in the OC 3.0.2.0

Do you still need more information?

Best Regards,
Petri

Newbie

Posts

Joined
Tue Jan 16, 2018 3:17 am

Post by straightlight » Sun Nov 04, 2018 12:47 am

Do you still need more information?
Yes, any error logs when saving each forms from the OC admin when configuring Klarna?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by petsil » Mon Nov 05, 2018 12:25 am

I don't get any errors and error logs are empty.
Just won't enable.

Are there any other informations I can give you?


Best regards,
Petri

Newbie

Posts

Joined
Tue Jan 16, 2018 3:17 am

Post by straightlight » Mon Nov 05, 2018 12:43 am

Are there any other informations I can give you?
Please read the forum rules!

What is the route name you are accessing from the URL?

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by petsil » Mon Nov 05, 2018 1:29 am

I'm sorry, my english is not so good and also my technical knowledge is also limited...
I have read few times the rules already, but I think I don't understand everything...
I try my best.

Thank you for trying to help me!

I'm sorry, not sure what is route name?
Do you mean this?
Or where can I find it?

admin/index.php?route=marketplace/extension&user_token=

admin/index.php?route=extension/module/klarna_checkout_module&user_token

admin/index.php?route=extension/payment/klarna_account&user_token

admin/index.php?route=extension/payment/klarna_checkout&user_token

admin/index.php?route=extension/payment/klarna_invoice&user_token

Best regards,
Petri

Newbie

Posts

Joined
Tue Jan 16, 2018 3:17 am

Post by straightlight » Mon Nov 05, 2018 4:31 am

admin/index.php?route=extension/module/klarna_checkout_module&user_token
Delivered from the core.
admin/index.php?route=extension/payment/klarna_account&user_token
Extension.
admin/index.php?route=extension/payment/klarna_checkout&user_token
Extension.
admin/index.php?route=extension/payment/klarna_invoice&user_token
Extension.

Contact the extension developer to resolved this issue.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by petsil » Tue Nov 06, 2018 3:41 pm

Could you tell me where to find the developer information, please?
I can't find the information.
I have not downloaded the extension anywhere, they were already there, when I installed OC.

In the extensions there are no information of the developer...

Best regards,
Petri

Newbie

Posts

Joined
Tue Jan 16, 2018 3:17 am

Post by capte » Tue Nov 13, 2018 11:44 am

Same here Klarna ... will simply not show up. ???
Nothing in the error logs except for the famous errors you previously noted
2018-11-12 15:06:20 - PHP Notice: Undefined index: api_token in catalog/controller/startup/session.php on line 8
2018-11-12 15:06:20 - PHP Notice: Undefined index: username in catalog/controller/api/login.php on line 11

The fix you provided in your zip seems to fix session ... But doesn't seem to fix the login issue.
As for testing purposes I've hardcoded the username in the login file. So I could rule out any issue that could be linked to this.
(TESTING PURPOSES ... Don't do this on live website.)

Anyway ... Klarna will simply not show up on checkout/checkout.

Dug a bit deeper in the controller : catalog/controller/checkout/payment_method.php
Printing : $this->{'model_extension_payment_' . $result['code']}->getMethod($this->session->data['payment_address'], $total)
Every payment method except Klarna returns values.

Almost forgot to say.
Opencart 3.0.2 // Clean install no extension or module added.
Only trying to make klarna work.
Using Klarna Dev Api credential provided at playground.eu.portal.klarna.com

If you want to PM I'll be glad to have a chat !
#QuebecOpencartDev ;)

New member

Posts

Joined
Tue Sep 20, 2011 9:27 pm

Post by straightlight » Tue Nov 13, 2018 6:56 pm

There has been changes involved in the v3.1.0.0x release for the klarna extension payment module on GitHub recently.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by capte » Fri Nov 23, 2018 12:12 pm

Tested version 3.1 ... still no luck ... nothing showing up in the payment method on the checkout page.
Tested multiple payment methods they all appeared ... not klarna checkout !
I'm probably missing something.

Nothing in the error logs :(

Any other ideas ?

Thanks,

New member

Posts

Joined
Tue Sep 20, 2011 9:27 pm

Post by straightlight » Sun Nov 25, 2018 5:33 am

It would then be suggested to report this issue on GitHub since you seem to be reporting an on-going event.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by capte » Fri Jan 11, 2019 10:58 am

Issue as been posted on github.
https://github.com/opencart/opencart/issues/7081

If anyone else out there have the same issue please feel free to comment.

New member

Posts

Joined
Tue Sep 20, 2011 9:27 pm

Post by Hampe1 » Thu Feb 28, 2019 8:53 pm

Hi,

Well you are far from the only one who have this issue. I'm running the latest version (3.0.3.1) and still doesn't work. I've tried with all possible fixes but without any luck.
It's bad that a big payment method like Klarna haven't been working for months..

I really hope they fix it soon as we are way past the launch date of the site due to this problem.

Newbie

Posts

Joined
Fri Aug 11, 2017 4:29 am

Post by straightlight » Thu Feb 28, 2019 10:16 pm

Hampe1 wrote:
Thu Feb 28, 2019 8:53 pm
Hi,

Well you are far from the only one who have this issue. I'm running the latest version (3.0.3.1) and still doesn't work. I've tried with all possible fixes but without any luck.
It's bad that a big payment method like Klarna haven't been working for months..

I really hope they fix it soon as we are way past the launch date of the site due to this problem.
Spotted also the admin klarna checkout files not being updated with the right payment keys on OC v3.0.3.1 release. Partial fix: viewtopic.php?f=201&t=210296#p748059 . Will be posting on GitHub.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Thu Feb 28, 2019 10:20 pm

Will be posting on GitHub.
Post completed on GitHub.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Hampe1 » Fri Mar 01, 2019 4:11 am

straightlight wrote:
Thu Feb 28, 2019 10:20 pm
Will be posting on GitHub.
Post completed on GitHub.
Hi straightlight,

I tried your fix, the module is activated & settings are saved but still don't show up on checkout/checkout. Is there anything else you can think of that can fix it?
I really appreciate your help with this!

Newbie

Posts

Joined
Fri Aug 11, 2017 4:29 am

Post by straightlight » Fri Mar 01, 2019 4:14 am

Hampe1 wrote:
Fri Mar 01, 2019 4:11 am
straightlight wrote:
Thu Feb 28, 2019 10:20 pm
Will be posting on GitHub.
Post completed on GitHub.
Hi straightlight,

I tried your fix, the module is activated & settings are saved but still don't show up on checkout/checkout. Is there anything else you can think of that can fix it?
I really appreciate your help with this!
As mentioned below those fix instructions, it is still under analysis what should be put on the getMethod() of that catalog model file …

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by Hampe1 » Fri Mar 01, 2019 4:44 am

straightlight wrote:
Fri Mar 01, 2019 4:14 am
As mentioned below those fix instructions, it is still under analysis what should be put on the getMethod() of that catalog model file …
Hi again,

I'm sorry, I totally missed that. Just asking, is that on the "priority list"? As I said it's been broken since a couple of months back.

Best Regards!

Newbie

Posts

Joined
Fri Aug 11, 2017 4:29 am
Who is online

Users browsing this forum: No registered users and 10 guests