Page 1 of 1

[v3.0.3.1] - firstdata payment extension

Posted: Sun Mar 03, 2019 4:54 am
by straightlight
The following steps are for Opencart v3.0.3.1 release. If your site is running in production, put your site under maintenance. Issue already fixed on GitHub.

1 - Take a screenshot of your admin firstdata payment module configurations.
2 - Uninstall the firstdata payment module.
3 - In admin/controller/extension/payment/firstdata_remote.php file,

find all instances of:

Code: Select all

->post['firstdata_
replace all with:

Code: Select all

->get('payment_firstdata_
Then, find all instances of:

Code: Select all

->get('firstdata_
replace all with:

Code: Select all

->get('payment_firstdata_
In your admin/model/extension/payment/firstdata_remote.php file, find all instances of:

Code: Select all

->get('firstdata_
replace all with:

Code: Select all

->get('payment_firstdata_
In admin/view/template/extension/payment/firstdata.twig file,

find all instances of:

Code: Select all

firstdata_
replace all manually (not automatically!):

Code: Select all

payment_firstdata_
In admin/view/template/extension/payment/firstdata_remote.twig file,

find all instances of:

Code: Select all

firstdata_
replace all with:

Code: Select all

payment_firstdata_
Do the same on the firstdata_remote_order.twig file.

In catalog/controller/extension/payment/firstdata_remote.php file,

find all instances of:

Code: Select all

->get('firstdata_
replace all with:

Code: Select all

->get('payment_firstdata_
In catalog/model/extension/payment/firstdata_remote.php file,

find all instances of:

Code: Select all

->get('firstdata_
replace all with:

Code: Select all

->get('payment_firstdata_
4 - Reinstall the firstdata payment module.
5 - Reconfigure the firstdata 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.