craigchristenson / opencart-2checkout

2Checkout payment module for OpenCart
0 stars 12 forks source link

2checkout with opencart 1.5.6.4 #14

Open hakhatar opened 4 years ago

hakhatar commented 4 years ago

Hi, please can you help me, the 2checkout does not work with my opencart, everything is set correct but always once I paid in test mode, it redirect me to call back url http://mysite.com/index.php?route=payment/twocheckout/callback and display message :

The response from 2checkout.com can't be parsed. Contact site administrator, please!

also in opencart log I have :

2019-12-27 17:18:14 - PHP Notice: Undefined variable: street_address2 in /public_html/catalog/view/theme/custom/template/payment/twocheckout.tpl on line 7 2019-12-27 17:18:14 - PHP Notice: Undefined variable: ship_name in /public_html/catalog/view/theme/custom/template/payment/twocheckout.tpl on line 14 2019-12-27 17:18:14 - PHP Notice: Undefined variable: ship_street_address2 in /public_html/catalog/view/theme/custom/template/payment/twocheckout.tpl on line 16 2019-12-27 17:18:14 - PHP Notice: Undefined variable: currency_code in /public_html/catalog/view/theme/custom/template/payment/twocheckout.tpl on line 35 2019-12-27 17:18:14 - PHP Notice: Undefined variable: display in /public_html/catalog/view/theme/custom/template/payment/twocheckout.tpl on line 42 2019-12-27 18:55:27 - PHP Notice: Undefined index: cart_order_id in /public_html/catalog/controller/payment/twocheckout.php on line 80 2019-12-27 18:55:27 - PHP Notice: Undefined index: total in /public_html/catalog/controller/payment/twocheckout.php on line 88 2019-12-27 18:55:27 - PHP Notice: Undefined index: key in /public_html/catalog/controller/payment/twocheckout.php on line 88

please it's very urgent, if you can help me to fix it..

Thanks so much!

abdulwad7869 commented 4 years ago

2Checkout APIs extension does not work with Opencart 1.5.6.4. I was using the 2Checkout with Opencart 1.5.6.4, it has a minor bug "User has to put his/her name on 2Checkout page again." the rest of the information was grabbed automatically. Kindly send the screenshot, I would like to help you as much as I can.

bigbrother72 commented 2 years ago

2Checkout APIs extension does not work with Opencart 1.5.6.4. I was using the 2Checkout with Opencart 1.5.6.4, it has a minor bug "User has to put his/her name on 2Checkout page again." the rest of the information was grabbed automatically. Kindly send the screenshot, I would like to help you as much as I can.

Can you help me with Opencart 1.5.6.4 and 2checkout?