#EzequielCalcanat - payment
1 messages · Page 1 of 1 (latest)
Hello, unfortunately this is not possible via the refunds API. To pay money to users, you need to create connected Stripe accounts for them and transfer funs
Are you currently using/familiar with Stripe Connect?
Let me expain you the case, when a user make a payment (now with test data) we save the customer and the payment method, for this example the user pay $250.
But, that payment have a change, maybe the user add a new product and right now we create a new paymentIntent for each product that the user add (is there another way? maybe a charge in the main paymentIntent?).
So, now with the new products the total payment is for $550, but the user says "I dont want those products, please" and we have to pay him back the amount of that products that he doesn't want (maybe $300).
The only information that we save from each user is the customer and the payment_method
You actually can't successfully charge a payment intent again after it has already succeeded. Here you would need to make another payment intent for $300 and confirm that
Then you can refund them separately to refund the full amount to the user
the problem here is that, int the $250 amount there are two products, one for $150 and the other one for $150
and in the second amount, there are three products for $100 each.
And if the user doesnt want the $150 product and one of the another paymentIntent, we have to make a refund to the differents paymentIntents, is that ok?
just to confirm, is there no way to make payment to a customer with payment_method?
You can re-use the payment method + Customer if you set them up properly. I was talking about the payment intents specifically.
I'm not sure I understand the problem that you are running in to. You can refund up to the total amount that you initially charged. So if the user wants a refund on the $150 product, you can refund $150 of their $250. You can even issue multiple refunds on one charge, so if they wanted a refund of $100 after that, you could refund the rest of that $250 payment.
The only restriction is that you can't refund more than the amount that you charged.
Ok ok, I can't refund more than the amount in the paymentIntent, but can I make a payment to a customer that have a payment_method?
As if I owe him $100 and I have to pay it but I can't do it by refund
Unfortunately not. You can give them credit but you can't send money to them
We have another offering for paying people like that called Stripe Connect https://stripe.com/docs/connect/add-and-pay-out-guide?integration=without-code
Ok ok, and just to confirm, is it possible to change the amount of a paymentIntent success?
is it possible to add a charge to a paymentIntent success?
No, it is not possible to change the amount of a payment intent after it has succeeded
Or to add more charges
To do that, you will need to create another payment intent and confirm that. You can re-use the customer and payment method, but you need to create and confirm a new payment intent
Ok Pompey, thanks for be patient and answer me
Of course, happy to help clarify things