#arshad.cm
1 messages · Page 1 of 1 (latest)
Hi there!
There are different integrations, and it's completely up to you.
I guess the first question you should ask is: do you want users to be redirected to a Stripe hosted page to do the payment, or do you want users to stay on your website?
I need to stay on my react application for the payment
Then you have to use the Payment Element. You can learn more about it here: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
That's assuming you are building a web app. For native applications it's different
yes got it.
While I create a payment intent, I transferred a money to a connect account. So when I am not satisfied with their service, Is there any option to revert this payment back.
You are using Stripe Connect? Which type of account (Standard, Express, Custom) and which type of charge (Direct Charge, Destination Charge, Separate Charge & Transfer)?
I am using express account
And which type of charge?
direct charges
No you shouldn't do this. Direct Charge means the connected account is responsible for refunds and chargebacks. However Express dashboard don't include any way to manage this.
You should either use Direct Charge with Standard accounts (this way they can manage refunds and chargebacks). Or use Destination Cahrge with Express account (this way you manage the refunds and chargebacks).
https://stripe.com/docs/connect/direct-charges
Using direct charges is recommended for Standard accounts.
I think my question was un clear.
My use case is,
I am building an saas application, So While I a client requests for a service I will collect some payment, But Until and unless I am completed the service, the payment is not accessible for me. So after the service completed I can take the money or else I need to give back the money to the client itself.
You can always refund a payment, and when you create the refund set reverse_transfer to get back the money from the connected account: https://stripe.com/docs/api/refunds/create?lang=node#create_refund-reverse_transfer
However I repeate what I said above: if you are using Direct Charge, you should NOT be using Express account. That will create may problems for your integration.
So when I am created a payment intent and accepted some money, I can give back the money using refund create