#Aliciant-clone-pm

1 messages ยท Page 1 of 1 (latest)

shrewd bear
ebon gazelle
#

Yep, I keep trying this one - but the user that is on the platform account only has a pm id.

#

I get to the point where I create the token, but then it says - If your platform uses the Payment Methods API, you must pass the payment method ID as the payment_method parameter instead of passing the source parameter.

#

So then it seems as though the token is irrelevant? Or am I misreading that?

#

We have been charging with customerid and card_id up until now. So I'm not really clear on how paymentMethods plus setupIntent works together.

shrewd bear
#

Yup AFAIK if you're using Payment Methods API then you don't need to create a token

ebon gazelle
#

Right - so I can't figure out how to get the payment information into the connected customer's account.

shrewd bear
ebon gazelle
#

yes

#

I get to the point where a paymentMethod is created

#

then I tried to setupIntent with usage=offSession

#

all of that happens successfully, but then I don't see any payment info in the client's account

shrewd bear
ebon gazelle
#

Is there something that I need to do with the client secret?

shrewd bear
#

do you have an example SetupIntent ID I can look into?

ebon gazelle
#

That worked!

#

Thank you so much!

#

I've been trying to get this done all day!

shrewd bear
#

Awesome! ๐Ÿ˜„