{"id":6840896,"date":"2015-12-11T18:27:53","date_gmt":"2015-12-11T18:27:53","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/transaction-failed-message-after-successful-transaction\/"},"modified":"2016-08-30T21:14:27","modified_gmt":"2016-08-30T21:14:27","slug":"transaction-failed-message-after-successful-transaction","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/transaction-failed-message-after-successful-transaction\/","title":{"rendered":"Transaction Failed Message After Successful Transaction"},"content":{"rendered":"<p>Dear Feyi,<br \/>\nThank you so much for the great plugin. It is really a great job well done.<br \/>\nI am using it on my site. It is working on live but with a little issue;<\/p>\n<p>I observe that on the live environment, a &#8220;Transaction Failed &#8221; message is always displayed after a successful payment, though customer&#8217;s account  will be debited and the Merchant&#8217;s account  credited .<\/p>\n<p>After a successful payment, I get this message<br \/>\n<strong>&#8220;Transaction Failed:<br \/>\nUnfortunately your order cannot be processed as the originating bank\/merchant has declined your transaction.<\/p>\n<p>Please attempt your purchase again or go to your account page.&#8221;<\/strong><\/p>\n<p><strong>Sorry. Your payment was not successful<br \/>\nBelow are the details of your payment transaction:<br \/>\nCustomer name:<br \/>\nAmount to be paid: 10.00<br \/>\nAmount actually paid: 0.00<br \/>\nCurrency:<br \/>\nPayment channel:<br \/>\nPayment status:<br \/>\nPayment status description:<br \/>\nMerchant transaction reference Number: 1-1223-1449854918<br \/>\nGlobalPay reference:<\/strong><\/p>\n<p>Note: only the Amount to be paid and the Amount actually paid feilds will contain entry, other fields will be empty.<\/p>\n<p>THE CONTENT OF THE LOG IS SEEN BELOW (I MARK XXXX TO HIDE INFORMATION)<\/p>\n<p>12-11-2015 @ 17:28:40 &#8211; Generating payment form for order #1223.<br \/>\n12-11-2015 @ 17:28:40 &#8211; User redirected to GlobalPay with the following:<br \/>\nGlobalPay URL: https:\/\/www.globalpay.com.ng\/Paymentgatewaycapture.aspx<br \/>\nArray<br \/>\n(<br \/>\n    [merchantid] =&gt; XXX<br \/>\n    [amount] =&gt; 10<br \/>\n    [currency] =&gt; NGN<br \/>\n    [merch_txnref] =&gt; 1-1223-1449854918<br \/>\n    [name] =&gt; XXXXXX XXXX<br \/>\n    [names] =&gt; Elijah Kalu<br \/>\n    [email_address] =&gt; XXXXXXXX<br \/>\n    [phone_number] =&gt; XXXXXXXXXXX<br \/>\n)<\/p>\n<p>12-11-2015 @ 17:30:21 &#8211; Transaction details received on user return from GlobalPay:<br \/>\nArray<br \/>\n(<br \/>\n    [key] =&gt; wc_order_566b07c5164ff<br \/>\n)<\/p>\n<p>12-11-2015 @ 17:30:21 &#8211; Connecting to GlobalPay at https:\/\/www.globalpay.com.ng\/globalpaywebservice\/service.asmx?wsdl<br \/>\n12-11-2015 @ 17:30:22 &#8211; Response dump from GlobalPay Array<br \/>\n(<br \/>\n    [getTransactionsResult] =&gt; &lt;resultset&gt;&lt;\/resultset&gt;<br \/>\n)<\/p>\n<p>https:\/\/wordpress.org\/plugins\/woocommerce-globalpay\/<\/p>\n","protected":false},"template":"","class_list":["post-6840896","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6840896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6840896\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6840896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}