Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cancel url : same as success url #14

Open
breizhwave opened this issue May 26, 2019 · 1 comment
Open

cancel url : same as success url #14

breizhwave opened this issue May 26, 2019 · 1 comment

Comments

@breizhwave
Copy link

Hello on a fresh woocommerce 3.6.3, the cancel button returns to a success page , triggering a success mail on failed order (pending)

I tried to analyse the code and find here
wp-content/plugins/payline-woocommerce-master/class-wc-gateway-payline.php:644

$doWebPaymentRequest['cancelURL']=$doWebPaymentRequest['notificationURL'];

which I decided to change to

$doWebPaymentRequest['cancelURL'] = home_url('/');

are you aware of this problem ?

@MathieuVaes
Copy link

Hi I have the same problem in 2021. So, like you, I changed the code of this file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants