#newtreyes

1 messages · Page 1 of 1 (latest)

tardy badgeBOT
stiff sandal
#

@lethal holly Hey there, Sir

lethal holly
#

Can you share the request where you get that error?

#

oh, you did

#

ty!

#

In this case, you're doing a destination charge to that account, the PM needs to exist on the paltform

#

the PM you tried to use exists on the connected account

stiff sandal
#

Got it

#

Makes sense

#

This is what I am doing right now to create the Payment Method

lethal holly
#

And that can't work with a platform-owned payment

#

How do you initialize stripe.js?

stiff sandal
#

I am including the StripeAccount as part of the stripe js initialization process

#

which should be the same one as the one I am sending when trying to create the payment intent

lethal holly
#

Yea so when you init stripe.js like that with a connected account id, the PM (or any object) is going to be on the connected account

#

for a destination payment thats not what you want

stiff sandal
#

Got it

lethal holly
#

you need to create the PM on the platform, so you can omit that option

stiff sandal
#

Awesome... trying now

lethal holly
#

👍

stiff sandal
#

that fixed it

#

thank you, Sir