szelpe / woocommerce-barion

Barion Payment Gateway for WooCommerce
GNU General Public License v3.0
9 stars 14 forks source link

Callback never received #32

Closed alovitsm closed 5 years ago

alovitsm commented 5 years ago

Hi Peter,

I've recently moved a project from my server to the client's and WooCommerce's no longer receiving callbacks from Barion. Realized I didn't update "elfogadóhely URL-je", so to start a clean slate, I've created a new test elfogadóhely in Barion with the proper and final URL. But still no callbacks and the orders are stuck on "Pending payment".

If I visit the URL store/wc-api/WC_Gateway_Barion?paymentId=... manually, it works. The client does have cURL enabled, but otherwise has a weird server setup so I suspect it could be something there.

Do you have any ideas what could be the issue?

Cheers, Marton

alovitsm commented 5 years ago

Upon inspecting the visitor logs in cpanel, the callback is received and served (HTTP response is 200). But it doesn't show up in WooCommerce, only if visited manually.

alovitsm commented 5 years ago

Okay, stupid mistake... An "Under construction" plugin was blocking access to the site. Problem solved.