Hello,
I am having a problem with Payment Express not completing sales. The credit card transaction has been accepted by DPS and the correct response is sent back, but OpenCart treats the reply as unknown and drops the user back into the 'checkout confirmation' page.
Did a bit of debugging and can't figure why $_REQUEST is used to find the merchant reference:
\catalog\controller\payment\paymentexpress.php in function callback2()
if (isset($_REQUEST['MerchantReference'])) {
$order_id = $_REQUEST['MerchantReference'];
} else {
$order_id = 0;
}
The problem I find is $_REQUEST contains an encoded string, and is not in XML format, therefore there is no 'MerchantReference' tag in the string; hence the $order_id is set to 0 and processing pretty much stops.
Can you offer any help?
Thing1
Who is online
Users browsing this forum: Amazon [Bot] and 3 guests