-
Notifications
You must be signed in to change notification settings - Fork 72
Open
Labels
type: bugThe issue is a confirmed bug.The issue is a confirmed bug.
Description
Describe the bug
Whenever shopper goes to My Account > Subscriptions > Change payment and updates it, e.g. by providing a new card number, Stripe Billing subscription gets cancelled and a WooPayments subscription is created.
To Reproduce
- Activate "Enable Stripe Billing for future subscriptions" option in WooPayments settings. For it to be seen, the store should be in US and WooCommerce Subscription plugin should be active.
- Create a test subscription and purchase it.
- Check the subscription details in WooCommerce > Subscriptions. The subscription ID which starts with
sub_is an indication that it is a Stripe Billing subscription:
- Visit the Stripe dashboard for the account. Subscriptions should be visible in the Subscriptions section:
- Open My account > Subscriptions and change payment method for the subscription. E.g. update card expiry date.
- Reload the subscription order as a merchant. Notice that the subscription ID is gone and there is a
Payment method: Cardsinstead.
- Check the order notes, which will indicate that subscription was charged with WooPayments:
- In the Stripe dashboard, subscription is now stated as "Cancelled":
Tip
If Subscriptions section is empty, head to Developers > Events and look for an event which says that subscription was cancelled. From there, you can click on the subscription ID to load it.
Actual behavior
WooPayments sees that the new payment is a card and updates the subscription to be a WooPayments subscription.
Expected behavior
WooPayments should see that the new payment method is card, but also check the subscription type and update it appropriately.
Metadata
Metadata
Assignees
Labels
type: bugThe issue is a confirmed bug.The issue is a confirmed bug.


