#hellodoc5514
1 messages · Page 1 of 1 (latest)
my use case is like setup payment for future payment as direct charge for connected accounts.
Hey there, yes that's possible in general, though the direct charge flow adds some caveats
As a platform, you have settings to control available payment method types for your connected accounts here:
https://dashboard.stripe.com/test/settings/payment_methods/connected_accounts
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
(along with allowing them to change those)
Depending on your default API version, you'd either specify automatic_payment_methods[enabled]=true or just omit payment_method_types
then present the Payment Element client side with appropriate configuration
oh, when creating the payment intents for direct charge, is it possible to associate multiple payment ids (say user can specify whether to pay through card or bank account previously saved from setup intent) ?
See the docs here for two flows:
intent first: https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
Deferred intent creation: https://stripe.com/docs/payments/accept-a-payment-deferred?platform=web&type=setup
Can you explain what you mean by "associate multiple payment ids"? You can specify any compatible attached payment method for the customer, but you can only pay with a single payment method (not multiple).
oh, i guess my scenario is like user can fill say multiple cards or multiple bank account previously done in setup intents. when the real payment happens, shall I build my custom UI to let him select which payment method to choose from and then call the payment intent api to bind to his/her specified payment methods ? I'm not sure if element UI developed by stripe already supports that or not
also @olive fox , it seems when create payment for direct charage for connected account, i have to clone previously saved payment method object. right now it says only bank account or card is supported. what about other payment methods?
thx
Yes, currently you'd build this yourself, though we are working on features to support this more easily!
You'd clone a card/bank account from your platform if you save those payment details at the platform level prior to direct charges. Note that this is not supported for most other payment method types.
right, that's what the document says. for other payment methods, does that mean user have to fill every time as a customer for the connected account or it will just fill once on taht connected account only?
You can save the PM for re-use on that account, sure! (assuming the PM type supports that)