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

Split UPE - Add support for Subscription payments with eligible APMs #2872

Closed
3 tasks done
james-allan opened this issue Feb 2, 2024 · 1 comment
Closed
3 tasks done
Assignees

Comments

@james-allan
Copy link
Contributor

james-allan commented Feb 2, 2024

Describe the bug

The #2866 PR adds support for taking subscription payments using cards. As part of this issue, we'll look into adding support for the other APMs that support subscription payments.

Important

As outlined in Stripe docs, these payment methods are only capable of recurring payments by creating a reusable SEPA debit token. This happens on Stripe's end when you attempt to create a reusable token. See the process_order_for_confirmed_intent() function for inspiration as to how this is handled.

These payment methods were previously supported using the the unified UPE element and so should continue to work as split payment methods with deferred intents.

Screenshot 2024-02-02 at 3 30 50 pm
SEPA, Bancontact, and iDEAL APMs available while purchasing a subscription

Testing instructions

  1. Checkout the add/deferred-intent branch.
  2. Enable UPE in the Stripe plugin advanced settings.
  3. Enter Stripe API credentials for an account that has these EU payment method enabled.
  4. Enable SEPA, Bancontact, and iDEAL from the payment methods list
  5. Enable the Woo Subscriptions plugin.
  6. Create at least 1 subscription product.
  7. Add the subscription product to the cart.
  8. On checkout confirm you can take payments with Bancontact, SEPA, and iDEAL and make sure automatic recurring payments work as expected. ie renewing the subscription raises a charge using the underlying SEPA debit token.
@mattallan
Copy link
Contributor

Closed by #2883 🎉 Thanks James for all your work on this one!

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