Post by jrunique » Fri Apr 23, 2021 10:08 am

Opencart version Version: 3.0.3.2

2checkout extension and installation instructions: https://knowledgecenter.2checkout.com/S ... -2Checkout
And the github: https://github.com/2Checkout/opencart-2checkout

I have been attempting to integrate opencart and 2checkout for some time now. I have installed and re-installed the extension multiple times and followed all installation instructions exactly. 2checkout is not receiving a reply to the IPN notification and it's saying that I have slow slow responding web hooks? As a result I receive payment but the order is not processed by opencart and it ends up as order missing status.

Warning errors on 2checkout...

Instant Payment Notification failed! 2Checkout system failed to receive a valid reply to the IPN notification sent for the following orders:

And...

Our system detected that you have slow responding web hooks.
Over the past 3 hours the URL https://www.xxxxxxx.com/index.php?route ... _cplus/ipn is FAILING to respond to our calls.
This can create IPN/LCN delivery delays.

2checkout support replied with the following message:

"After debugging your IPN, it seems that the OpenCart endpoint you have set outputs a HTTP/1.1 500 Internal Server Error.

This means that the error is not on 2Chekout side, our webhook is attempting to send the order data, however the OpenCart endpoint https://www.xxxxxxx.com/index.php?route ... _cplus/ipn does not seem to respond properly.

I suggest attempting to contact OpenCart on this matter."

Any help would be greatly appreciated.

New member

Posts

Joined
Mon Aug 15, 2016 1:47 pm

Post by Cue4cheap » Fri Apr 23, 2021 11:14 am

When you put the ipn link into your web browser what do you get?
Do you see any errors in your error log; both opencart and weblogs?

Mike

cue4cheap not cheap quality


Active Member

Posts

Joined
Fri Sep 20, 2013 4:45 am

Post by jrunique » Fri Apr 23, 2021 12:00 pm

Thank you for your reply.

When I load https://www.xxxxxx.com/index.php?route= ... _cplus/ipn all I get is a blank page. I don't see any error in the opencart log either. And 2checkout has the same notification: "Over the past 3 hours the URL https://www.xxxxxx.com/index.php?route= ... _cplus/ipn is FAILING to respond to our calls

New member

Posts

Joined
Mon Aug 15, 2016 1:47 pm

Post by ADD Creative » Fri Apr 23, 2021 4:33 pm

You need to check the PHP or server error log.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by jrunique » Fri Apr 23, 2021 5:35 pm

Unfortunately I don't see anything in the server logs after refreshing https://www.xxxxxx.com/index.php?route= ... _cplus/ipn multiple times.

New member

Posts

Joined
Mon Aug 15, 2016 1:47 pm

Post by ADD Creative » Fri Apr 23, 2021 6:08 pm

Do you see the request to /index.php?route=extension/payment/twocheckout_cplus/ipn in your web access log? If so what is the status code?

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by jrunique » Sat Apr 24, 2021 12:21 pm

I refreshed /index.php?route=extension/payment/twocheckout_cplus/ipn several times and these are the request in the access logs:

16X.xxx.xx.196 - - [23/Apr/2021:05:19:49 -0700] "POST /index.php?route=extension/payment/twocheckout_cplus/ipn HTTP/1.0" 500 - "-" "GKD_IPN v1.2"
16X.xxx.xx.196 - - [23/Apr/2021:05:20:15 -0700] "POST /index.php?route=extension/payment/twocheckout_cplus/ipn HTTP/1.0" 500 - "-" "GKD_IPN v1.2"
16X.xxx.xx.196 - - [23/Apr/2021:05:20:23 -0700] "POST /index.php?route=extension/payment/twocheckout_cplus/ipn HTTP/1.0" 500 - "-" "GKD_IPN v1.2"

New member

Posts

Joined
Mon Aug 15, 2016 1:47 pm

Post by ADD Creative » Sat Apr 24, 2021 6:43 pm

They are all 500 error statuses so there should be a error log entry for them somewhere. Probably best to ask your host.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 13 guests