#hellodoc5514

1 messages · Page 1 of 1 (latest)

full shardBOT
rocky narwhal
#

my use case is like setup payment for future payment as direct charge for connected accounts.

olive fox
#

Hey there, yes that's possible in general, though the direct charge flow adds some caveats

#

(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

rocky narwhal
#

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) ?

olive fox
olive fox
rocky narwhal
#

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

olive fox
olive fox
rocky narwhal
#

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?

olive fox
#

You can save the PM for re-use on that account, sure! (assuming the PM type supports that)