Stuck on the checkout page
-
So we’ve activated MPGS plugin on our client’s demo site. They use Saudi Fransi e-Pay. After adding all details in the plugin, the credit card option shows up on the checkout page. However, after completing the checkout, it shows order confirmation but doesn’t redirect to the hosted payment page. Production API credentials are being used.
We were previously redirecting to the payment page but it used to show an Invalid Request error. Upon contacting the MasterCard team, they asked us to add the following object in the plugin code on line 300.
transaction: {
reference: “TRF”.”<?php echo $order_id; ?>”
},However, after we added this snippet in the plugin code, the checkout page doesn’t proceed to the payment page. If we remove the code, it shows Invalid Request on the payment screen.
After adding snippet: https://prnt.sc/u5iqd0
Before adding snippet: https://prnt.sc/u5irueKindly assist.
The page I need help with: [log in to see the link]
- The topic ‘Stuck on the checkout page’ is closed to new replies.