#_nerder

1 messages · Page 1 of 1 (latest)

warm inletBOT
primal dagger
#

Hello! Not really, why would you want to do that?

fossil wasp
#

I want to let the customer insert the payment method and pay directly

#

instead of, first setup the payment method and then pay

primal dagger
#

So you want to save the payment method during a payment?

fossil wasp
#

yes basically

primal dagger
#

Use setup_future_usage with the Payment Intent

fossil wasp
#

ok!

#

But then since I'm using it with connect, it's possible to save the payment method both on the platform and the connected account?

primal dagger
#

Hmm, no. Where are you creating the PI? On the platform?

fossil wasp
#

umm, not sure

#

the customer is purchasing a product of the connected account at the end

primal dagger
#

Ok, is it a direct charge? Destination charge?

fossil wasp
#

It's a subscription creation most the time

#

so the customer, purchase a subscription from a product of the connected account

#

I want to be able to save the payment method in the PLATFORM at first payment as well so that I can reuse it in other connected accounts

primal dagger
#

Yeah from what you describe you're doing a direct charge/subscription on the connected account so all the API objects must exist on that account. If you used s_f_u that would save the payment method on the connected account and prevent cloning to other connected accounts

#

Your approach now of Setup Intent on the platform and then cloning it to connected accounts is the only way

fossil wasp
#

Ok I see then, and actually only for cards or us_bank_account i can do the cloning

primal dagger
#

Yes

fossil wasp
#

Ok then, let me recap, the experience for the customer will be the following:

  1. When they try to purchase anything for the first time, we prompt them with a page that asks to attach a payment method
  2. On that page we ask for cards or others
  3. If they select cards, we create the setup intent in the platform, otherwise in the connected account directly since will not be reusable
  4. Then they can go ahead and purchase anything
#

Then in the scenario in which they want to purchase something from another connected account, if we have a clonable payment method on file we use that, otherwise we prompt again the "attach a payment method" page

#

Is this correct?

primal dagger
#

Yes, seems reasonable!

#

Between 3 & 4 you'd obviously need to clone the card PM to the conncted account in question

fossil wasp
#

Yes, that's clear

#

amazing

#

thank you so much @primal dagger, super helpful as always!