[v3.0.3.1] - klarna checkout extension payment
Posted: Sun Mar 03, 2019 5:23 am
The following steps are for Opencart v3.0.3.1 release. If your site is running in production, put your site under maintenance. Issue has already been fixed on Github files.
1 - Take a screenshot of your admin klarna checkout payment module configurations.
2 - Uninstall the klarna checkout payment module.
3 - In admin/controller/extension/payment/klarna_checkout.php file,
find all instances of:
replace all with:
In admin/model/extension/payment/klarna_checkout.php file,
find all instances of:
replace all with:
Then, in admin/view/template/extension/payment/klarna_checkout.php file,
find all instances of:
replace all with:
Then, in catalog/controller/extension/payment/klarna_checkout.php file,
find all instances of:
replace all with:
Then, in catalog/model/extension/payment/klarna_checkout.php file,
find all instances of:
replace all with:
3.1 - Then, take a screenshot of your klarna checkout payment module
3.2 - Uninstall klarna checkout payment module
Then, in catalog/controller/extension/module/klarna_checkout_module.php file,
find:
replace with:
Then, in the same file, find all instances of:
replace all with:
4 - Reinstall the klarna checkout payment module.
5 - Reconfigure the klarna checkout payment module.
6 - Test a transaction during checkout.
7 - When successful, disable the site maintenance (if running in production).
This should overall resolve the status issues along with other variables.
1 - Take a screenshot of your admin klarna checkout payment module configurations.
2 - Uninstall the klarna checkout payment module.
3 - In admin/controller/extension/payment/klarna_checkout.php file,
find all instances of:
Code: Select all
->get('klarna_
Code: Select all
->get('payment_klarna_
find all instances of:
Code: Select all
->get('klarna_
Code: Select all
->get('payment_klarna_
find all instances of:
Code: Select all
klarna_
Code: Select all
payment_klarna_
find all instances of:
Code: Select all
->get('klarna_
Code: Select all
->get('payment_klarna_
find all instances of:
Code: Select all
->get('klarna_
Code: Select all
->get('payment_klarna_
3.2 - Uninstall klarna checkout payment module
Then, in catalog/controller/extension/module/klarna_checkout_module.php file,
find:
Code: Select all
if (!$this->config->get('module_klarna_checkout_status') || !$this->config->get('klarna_checkout_status')) {
Code: Select all
if (!$this->config->get('module_klarna_checkout_status') || !$this->config->get('payment_klarna_checkout_status')) {
Code: Select all
->get('klarna_
Code: Select all
->get('payment_klarna_
5 - Reconfigure the klarna checkout payment module.
6 - Test a transaction during checkout.
7 - When successful, disable the site maintenance (if running in production).
This should overall resolve the status issues along with other variables.