#evizcaya - Future Payments
1 messages · Page 1 of 1 (latest)
Ah, gotcha. Yep, that works fine with Connect!
I tried to make a proof of concept but without success,
I received the error: OAuth key or Stripe-Account header was used but API request was provided with a platform-owned payment method ID. Please ensure that the provided payment method matches the specified account.
I think it is cause the setupIntent method is not prepared to receive a stripeAccount as parameter
That error indicates you made a connect request on a connected account but specified a Payment Method that only exists on your platform account.
The Payment Method in question needs to exist on the connected account, not your platform account, for the request to work.
What are you trying to build?
A donations platform, to enable user to donate directly to a cause and take a fee for the platform
So I need enable future payments to validate the origin of the founds
validate first*
What type of Connect accounts are you using? Standard? Express?
Standard
Okay, so you want to use Direct charges in that case: https://stripe.com/docs/connect/direct-charges
That means you'll need to create all the payment-related objects on the connected accounts: https://stripe.com/docs/connect/authentication
Thank you
Already I tried that and all works fine. But I wish just prepare a transaction to the foundation can validate the origin and then make the charge to the app user maybe after a few hours.
Not sure I understand, can you provide more details?
Something like this
First the user see a humanity cause to donate into the app, then the user introduce the credit card and select an amount. Then the foundation needs to validate the procedence of the founds and amount and then the foundation have to decide if accept the donation.
Are you talking about placing a hold on some amount of funds on the platform account prior to charging the card?
Or something else?
Yeah, placing a hold on some amount of funds on the platform account prior to charging the card it's that I need.
That's not really compatible with Standard accounts and direct charges. You can place a hold on funds on the connected account though.