#hamid-intents

1 messages · Page 1 of 1 (latest)

mossy ginkgo
#

@wary viper what's the question?

wary viper
#

to create payment intent, we often add one param

#

payment_method

#

right?

#

it could be of credit card or sepa_debit

#

so my question or requirement is

mossy ginkgo
# wary viper right?

no, usually you go to your frontend web page and use stripe.js to confirm the PaymentIntent using Elements and that's where the PaymentMethod comes from

wary viper
#

For sepa_debit when i create setup intent by passing nil to CONNECTED_ACCOUNT_ID . But on the time of creating payment_intent I want to charge it for any other CONNECTED_ACCOUNT_ID

#

this is my question

#

any way i can achieve that?

#

let me know if you didn't get my question

mossy ginkgo
#

we covered all this last week

#

you can not do that

#

you must know the connected account ID at the time of creating the SetupIntent. That's it.

#

there's no workaround or other way. If you don't know the ID of the account you're going to do the payment on , then you can't take the SEPA details yet and you'd have to defer until a point in the process where you do know them. It is impossible to pass nil on the SetupIntent and then pass an account ID on the PaymentIntent. Simple as that

wary viper
#

how about passing different CONNECTED_ACCOUNT_ID, is it possible

#

?