Plugin Not Posting names to Globalpay
-
I just installed the plugin and discovered it does not post the Buyer’s name to globalpay. All other details are posted except the name. This means the name is manually inputted on the globalpay page before proceeding with the confirmation and payment.
What is the solution to this?
-
Thank you for your feedback. Please let me check this out and get back to you.
I should do so by tomorrow.
Hello Mr Emereuwa,
I could not replicate this problem. The buyer’s name was displayed.I used version 3.1 of the plugin, version 2.1.12 of WooCommerce and version 3.9.2 of WordPress on GlobalPay’s demo servers.
What is your current configuration?
Do I take it that you no longer have this problem?
Sorry for my late reply.
My configuration is as below:
Wordpress: 3.9.2
Woocommerce: 2.1.12
Plugin Version: 3.1
My configuration corresponds with yours and I don’t know why we are getting different results.I intend to test it on a different server with different configuration so as to be sure.
What will be the difference on the server you want to use?
Please kindly see if you can replicate the same result as before via this link:
http://serehost.com/shopper/shop/consumables/books/
I put that up as a test and am still getting same results from this end.Can you post the contents of your log?
You will find it in plugins/woocommerce/logs
Amazingly, there is no log file in my Woocommerce logs folder on the above url.
However, I got the following from another install on another server.08-27-2014 @ 14:26:51 – Generating payment form for order #519.
08-27-2014 @ 14:26:51 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => xxx
[amount] => 1015
[currency] => NGN
[merch_txnref] => 0-519-1409149611
[name] => Guest
[email_address] => [email protected]
[phone_number] => 1234
)Merchant ID and email were hidden by me.
I also noticed that even when registered, the name does not get posted.I’ll get back to you on this later this afternoon.
Hello Mr Emereuwa,
This should not happen. I cannot replicate it and no other user is reporting it.I think you will have to contact Zenith Bank and tell report this issue. However, in the meantime I have created an experimental branch for the plugin to see if it will address the issue. You can download the code here https://github.com/Feyisayo/woocommerce-globalpay/archive/4d6b7e698d38460e9a2a4bd402a311ca5c0a81fc.zip
If it works, please post the contents of the logs.
Let me know how it goes.
Hello Mr Emereuwa,
Any luck with this?Please let me get back to you later in the day.
I am on a project with today as deadline.Regards
Hello, the new version (3.1) is better. It posts the name and works as expected.
Nice work
Thanks
Hello,I just tested the return url and I have the following error:
Warning: end() expects parameter 1 to be array, null given in /home/xxxx/public_html/wp-content/plugins/woocommerce-globalpay-4d6b7e698d38460e9a2a4bd402a311ca5c0a81fc/woocommerce-globalpay.php on line 359
See the Logs below:
09-12-2014 @ 16:30:39 – Generating payment form for order #536.
09-12-2014 @ 16:30:40 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => xxxx
[amount] => 1015
[currency] => NGN
[merch_txnref] => 1-536-1410539439
[names] => xxxx
[email_address] => [email protected]
[phone_number] => 23480xxxx
)09-12-2014 @ 16:32:19 – Transaction details received on user return from GlobalPay:
Array
(
[key] => wc_order_54131faec1eeb
)09-12-2014 @ 16:32:19 – Connecting to GlobalPay at https://demo.globalpay.com.ng/GlobalpayWebService_demo/service.asmx?wsdl
09-12-2014 @ 16:32:24 – Response dump from GlobalPayArray
(
[amount_discrepancy] =>
[status] => completed
[txnref] => 5114255173105877
[channel] => interswitch
[amount] => 1015
[payment_date] => 9/12/2014 5:31:05 PM
[payment_status] => successful
[names] => xxxxx
[acct_desc] => False
[acct_desc_order] => 0
[hidden] => False
[xpath_field] => 0
[currency] => NGN
[email_address] => [email protected]
[phone_number] => 23480xxxxx
[merch_txnref] => 1-536-1410539439
[payment_status_description] => Approved or completed successfully
)09-12-2014 @ 16:32:25 – Payment complete.
That line 359 is Customer Name. It is blank on the Thank you page.
The topic ‘Plugin Not Posting names to Globalpay’ is closed to new replies.