szelpe / woocommerce-barion

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

does not redirect you to the payment interface #57

Open sargaemberke opened 2 years ago

sargaemberke commented 2 years ago

Hello,

Does not redirect you to the payment interface. When the customer clicks the order button, the process ends with a successful order, skipping the redirection to the payment interface.

barion payment gateway for woocommerce 3.4.0 wordpress 6.0.2 woocommerce 5.9.1

thanks a lot!

Barna

gcsecsey commented 2 years ago

I've recreated a test site in Docker and set up the plugins with the matching version numbers:

wp config set WP_DEBUG true --raw
wp config set WP_DEBUG_DISPLAY true --raw

wp plugin install woocommerce --version=5.9.1 pay-via-barion-for-woocommerce --version=3.4.0
wp plugin activate woocommerce pay-via-barion-for-woocommerce

wp wc product create --user=1 --name="Test Product" --type=simple --sku=TESTP --regular_price=20

Then set up the Barion plugin with my test credentials: CleanShot 2022-10-16 at 09 50 44@2x

Then, when trying to check out using the Barion payment option, I'm getting the below error. Unfortunately, this doesn't produce any errors in the debug log. The original error message may be hidden due to https://github.com/woocommerce/woocommerce/issues/25739. image

The error may be due to my local environment, and Barion accepting connection only through SSL: https://docs.barion.com/Sandbox#:~:text=All%20communication%20with%20the%20Barion%20system%20must%20be%20done%20using%20TLS%20v1.1%20/%201.2%20%2D%20former%20encryption%20standards%20(SSLv3%2C%20TLS1.0%20etc.)%20are%20not%20allowed.%20You%20can%20test%20your%20solution%20on%20the%20Sandbox%20server.

Unfortunately, I don't have any test sites with domain names, and SSL certificates installed. @sargaemberke, have you received the above issue on a live site? Does your site produce any errors, perhaps, either on the UI or in the debug log?