#redberry95
1 messages · Page 1 of 1 (latest)
Can you explain more about exactly what you're trying to do?
what does this mean?
with off platform payments
Hi there, I have a BE that provides a setup intent secret to FE, then the FE creates payment method with PaymentElement & confirmSetup method and then calls the BE to execute the payment
Its working with Card, and I need to include UK Direct Debit functionality to it too
I've been looking at this docs here - https://stripe.com/docs/payments/bacs-debit/save-bank-details
but this only mentions complete stripe checkout, rather then PaymentElement
This is not currently supported
Note the footnote 2 here
Payment Element cannot be used to create SetupIntents for Bacs Direct Debit. Use Checkout with setup mode instead.
then calls the BE to execute the payment
However, if you're taking payment immediately afterwards, you should not use a setup intent, but rather a payment intent withsetup_future_usage
https://stripe.com/docs/payments/save-during-payment
If you do SetupIntent then a PaymentIntent with a card, you risk hitting a "double 3ds" flow for your customer
I might be wrong, but PaymentElements says it supports Uk Direct Debits?
Ah, I see what you mean about the note
Final question, is it possible at all to configure the order in which payment methods are shown with elements
Actually, the reason for using SetupIntents instead of PaymentIntents is because of trial offerings, does that mean that Direct Debits and trials are incompatiable as of now?
For that you'd need to defer payment method collection if not using checkout, because you wouldnt be able to confirm the pending_setup_intent
Yes!
paymentMethodOrder lets you specify with one(s) you want to come first:
https://stripe.com/docs/js/elements_object/create_payment_element#payment_element_create-options-paymentMethodOrder
Okay, thats handy in case I manage to figure it out
I dont think I got that sorry