So, I had an issue with getting Amazon Pay to work with my site. Thankfully it did (even though the formatting with Journal 2 is awful).
However, here is an issue and I'm wondering if anyone has figure it out.
When I ran a test order. My authorization was for a lot more. I realized that what was being transferred over to Amazon pay was the total of the order + the reward points being earned.
So for example:
Order Total: $10.00
You Earn: 5 reward points
Amazon Pay would authorize $15.00
Anybody know how to fix this?
Thank you!
No OC version posted. So far, in the latest version of OC, the order totals are already implemented in the amazon login pay controller file. With the vouchers enabled, the total should already be reflected on the bill with the specified voucher module.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
In addition, ensure your admin - > extensions - > events page contains the vouchers notification rather than an empty page. Something I did noticed in the v2.3.0.2 release. If empty, then in your PHPMyAdmin, go to your event table. Use this query in your SQL tab on the right-end side in your Opencart database:
Note: Replace the: oc_ database table prefix with your modified one if you're using a different prefix.
Code: Select all
INSERT INTO `oc_event` (`event_id`, `code`, `trigger`, `action`) VALUES
(1, 'voucher', 'catalog/model/checkout/order/addOrderHistory/after', 'extension/total/voucher/send');
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 6 guests