#memekyTeam
1 messages ยท Page 1 of 1 (latest)
What error are you receiving?
What are you trying to do with the stripe_account parameter?
I just want the payment to go to the custom or express account I have, it's the first time I've tried it and I don't quite understand how it works
The code works correctly for me but it does not send me the transfer to the connected account
So that's what transfer_data.destination is doing. When you pass stripe_account you're essentially saying, "hey Stripe, I want you to process this API request as though it's being made by my Express/Custom Connect account"
So would I have to remove the transfer data from there?
No, you would remove stripe_account from the request like you did in the most recent screenshot and then add transfer_data.destination instead.
Here's the relevant guide for setting this up: https://stripe.com/docs/connect/destination-charges
ok, now I'm trying it, it's the first time I'm trying it and I don't quite understand how it works, now I'll try it, thanks ๐ Have a good day, it has helped me a lot GG
Sure thing! Feel free to come back if you have any questions about the workflow in the docs
thanks ๐