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

Canceling billing agreement does not cancel subscription (391) #493

Open
Dinamiko opened this issue Feb 15, 2022 · 0 comments · May be fixed by #494
Open

Canceling billing agreement does not cancel subscription (391) #493

Dinamiko opened this issue Feb 15, 2022 · 0 comments · May be fixed by #494
Labels
bug Something isn't working

Comments

@Dinamiko
Copy link
Contributor

Describe the Bug

Currently when a user canceled their billing agreement on PayPal, the subscription remains active until the next renewal fails and results in a "Pending payment" or "Failed" order.

To Reproduce

Subscription purchased with "WooCommerce PayPal Payments" plugin:

  1. Purchase a subscription and then ensure payment is saved in My Account / PayPal Payments.
  2. Go to PayPal customer account Settings / Payments / Manage Automatic Payments, select the saved payment and click Cancel button:

cancel-payment

Subscription purchased with "WooCommerce PayPal Checkout Payment Gateway" plugin and then migrated to "WooCommerce PayPal Payments" plugin:

  1. Purchase a subscription with "WooCommerce PayPal Checkout Payment Gateway" plugin.
  2. Deactivate "WooCommerce PayPal Checkout Payment Gateway" and then activate "WooCommerce PayPal Payments".
  3. Go to PayPal customer account Settings / Payments / Manage Automatic Payments, select the saved payment and click Cancel button.

Expected Behavior

  • Payment is removed in My Account / PayPal Payments.
  • Subscription status is "Cancelled".

Actual Behavior

Nothing happens after cancelling billing agreement on PayPal.

Environment

  • WordPress Version: 5.9
  • WooCommerce Version: 6.2
  • Plugin Version: 1.6.5
@Dinamiko Dinamiko added the bug Something isn't working label Feb 15, 2022
@Dinamiko Dinamiko changed the title Canceling billing agreement does not cancel subscription Canceling billing agreement does not cancel subscription (391) Feb 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant