#joshua_lyon
1 messages · Page 1 of 1 (latest)
If I use the default subscriptions.create() settings, I get an error client side with:
The PaymentMethod provided (ideal) is not allowed for this PaymentIntent. Please attach a PaymentMethod of one of the following types: card, link, sepa_debit. Alternatively, update the allowed payment_method_types for this PaymentIntent to include \"ideal\".
If I manually adjust the subscription creation to explicitly include 'ideal' with payment_settings.payment_method_types, I get the following error server side:
Failed to subscribe User(bfy32278NHN3UZs8qYxvMlqBWkMH) to plan(price_1NkC6JIgb3cW02vAWYZ7Tp7j. Error: The payment method type `ideal` cannot be used with subscriptions that have the `collection_method` set to `charge_automatically`.
We have a separate flow that allows users to attach payment methods to their existing account and that explicitly uses a SetupIntent and I am able to use that along with iDEAL and then grab the iDEAL→SEPA automatic payment method conversion from the setupIntent.latest_attempt.payment_method_details.ideal.generated_sepa_debit
I would like to avoid having a separate Subscription setup logic just for iDEAL if there's a way to natively accept iDEAL → SEPA when setting up a Subscription.
Hello!