#nerder-paymentmethod-clone

1 messages · Page 1 of 1 (latest)

south marshBOT
regal moss
#

@topaz pendant nope, impossible

#

nerder-paymentmethod-clone

topaz pendant
#

😞

#

i susupected it

#

Then maybe you can help me understand better this use case and how may I support it, because probably i'm approaching it wrong.

#

For context, we are building a platform for gyms. So all our connected accounts are gyms and the customer are practitioners of such gyms. We want to allow cross-gym purchases.

#

There are 3 scenarios we want to support:

Scenario 1
Customer NOT present in Connected Account (Without Payment Method in PLATFORM account)

Scenario 2
Customer NOT present in Connected Account (With Payment Method in PLATFORM account)

Scenario 3
Customer already present in Connected Account (Complete)

regal moss
#

Really the only solution is to collect card details in the platform first, no other way around it

topaz pendant
#

The problem is with Scenario 1

#

There is a way to attach a payment method all in the server? (i mean without using setup intents)

#

because one idea, was in the same call the first time a customer purchase anything:

  1. attach payment method in the platform
  2. clone the customer and the payment method in the connected account
  3. create a payment intent on behalf of the connected account
  4. return the client secret to the frontend and confirm the payment
regal moss
#

Use SetupIntent, collect card details on the platform first. Then clone and use it

topaz pendant
#

Okay I see, from the customer's prospetive the UX is a bit worse as they will need 2 steps instead of one to purchase their first membership

#

but if truly there are no way around it, than it will be it

regal moss
#

yep

topaz pendant
#

thank you so much @regal moss