Error:Index was outside the bounds of the array.
-
i installed the plugin for hotel booking system with woocommerce as the checkout, when i run it on the testmode everything works expect that the merchant logo doesnt show.
But when i run it live it throws up this error : Error:Index was outside the bounds of the array.
Please, help me out.
Thank You so much
-
Hello there. Please post the details of the logs of the plugin.
Thank You Sir, for the response .
below are the info on the wc-log07-09-2016 @ 23:58:38 – Generating payment form for order #1404.
07-09-2016 @ 23:58:38 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 42000
[currency] => NGN
[merch_txnref] => 1-1404-1468108718
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-10-2016 @ 00:00:35 – Generating payment form for order #1406.
07-10-2016 @ 00:00:35 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 42000
[currency] => NGN
[merch_txnref] => 1-1406-1468108835
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-10-2016 @ 00:04:12 – Generating payment form for order #1408.
07-10-2016 @ 00:04:12 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 42000
[currency] => NGN
[merch_txnref] => 1-1408-1468109052
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 18:27:51 – Generating payment form for order #2040.
07-18-2016 @ 18:27:51 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2040-1468866471
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 18:59:17 – Generating payment form for order #2044.
07-18-2016 @ 18:59:17 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2044-1468868357
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 19:36:06 – Generating payment form for order #2048.
07-18-2016 @ 19:36:06 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2048-1468870566
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 19:40:24 – Generating payment form for order #2052.
07-18-2016 @ 19:40:24 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2052-1468870824
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 19:59:42 – Generating payment form for order #2056.
07-18-2016 @ 19:59:42 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2056-1468871982
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 20:13:44 – Generating payment form for order #2060.
07-18-2016 @ 20:13:44 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2060-1468872824
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 20:19:04 – Generating payment form for order #2064.
07-18-2016 @ 20:19:04 – User redirected to GlobalPay with the following:
GlobalPay URL: https://demo.globalpay.com.ng/globalpay_demo/paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2064-1468873144
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 20:30:46 – Generating payment form for order #2068.
07-18-2016 @ 20:30:46 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2068-1468873846
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 20:35:43 – Generating payment form for order #2072.
07-18-2016 @ 20:35:43 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2072-1468874143
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 20:51:42 – Generating payment form for order #2076.
07-18-2016 @ 20:51:42 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2076-1468875102
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 23:24:59 – Generating payment form for order #2080.
07-18-2016 @ 23:24:59 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2080-1468884299
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 23:29:59 – Generating payment form for order #2084.
07-18-2016 @ 23:29:59 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2084-1468884599
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-18-2016 @ 23:33:33 – Generating payment form for order #2088.
07-18-2016 @ 23:33:33 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2088-1468884813
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)07-19-2016 @ 05:56:30 – Generating payment form for order #2094.
07-19-2016 @ 05:56:30 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 12-2094-1468907790
[name] => hate faith
[names] => hate faith
[email_address] => [email protected]
[phone_number] => 08166670229
)07-19-2016 @ 07:12:34 – Generating payment form for order #2098.
07-19-2016 @ 07:12:34 – User redirected to GlobalPay with the following:
GlobalPay URL: https://www.globalpay.com.ng/Paymentgatewaycapture.aspx
Array
(
[merchantid] => 10296
[amount] => 34500
[currency] => NGN
[merch_txnref] => 1-2098-1468912354
[name] => timothy obit
[names] => timothy obit
[email_address] => [email protected]
[phone_number] => 99999999
)thank you sir
Hello there.
Your logs only show the user being redirected to GlobalPay.It does not show that the user ever comes back to your site after paying on GlobalPay. This is an important part of the checkout flow.
If this is the entire content of the log file then it shows something is fundamentally wrong with the checkout flow on your website.
You need to find out why users are not redirected back to your site from GlobalPay.
One place you should check is the permalinks structure of your site. Check the plugin’s documentation for how to configure it.
Good luck
- The topic ‘Error:Index was outside the bounds of the array.’ is closed to new replies.