#ketaaa
1 messages ยท Page 1 of 1 (latest)
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Can you told me if this sounds good for you?
You can cancel the Payment Intent, although I'm not sure how that works with async payments like SEPA: https://stripe.com/docs/api/payment_intents/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yeah
that's why i'm trying to send a refund request
pi_3LqBcMJhyUplILGN1ZPRkpIa
if you can have a look
Yeah so that payment was succeeded, so can't be canceled. A refund is the appropriate discourse in this case
I'm not sure I understand the Q?
like
async payment has been asking
and in the same time a refund has been asking aswell
because i'm not sure if we cancel the "debit" request from the bank?
pi_3LqBnfJhyUplILGN15guAOUY new test if you wanna check, my old test seems good like bank took the money but refunded aswell
I'm not sure what you're asking of me here. The payment succeeded, you refunded it
my main goal
is to cancel
the payment request made from Stripe to the bank
Customer enter his sepa for payment -> Stripe is sending a debit request to the bank
I would like to know if it's possible to cancel this debit request
is it clearer now?
Ok, got it. So you likely need to use a different IBAN test number. Which have you used? https://stripe.com/docs/payments/sepa-debit/accept-a-payment?platform=web&ui=checkout#test-integration
FR3020041010050500013M02609
im using this one
which is good
because it delays the success
this is what I want
because the "cancel" action come from my side and not from your side.
The customer can cancel his order before receiveing the success debit from the bank
Yep, ok. So in that ~3 minute window you need to cancel the PI with this API: https://stripe.com/docs/api/payment_intents/cancel
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If I do it, you take care of not debiting the money of the customer with the bank?
This is what I'm not sure about...
You can cancel the Payment Intent, although I'm not sure how that works with async payments like SEPA
Did you try and test it?
i can try for sure
but I need to be sure this will work in real condition
with real bank
can you maybe ask higher?
[2022-10-07T08:39:24.228869+00:00] main.DEBUG: You cannot cancel this PaymentIntent because it has a status of processing. Only a PaymentIntent with one of the following statuses may be canceled: requires_payment_method, requires_capture, requires_confirmation, requires_action. [] []
pi_3LqC4tJhyUplILGN0WO0N8J3
i cannot cancel it because it is in "state" processing
Yep, wasn't sure if that would work. I guess in this instance with an async PM like SEPA you'd need to wait for the payment to succeed and then start the refund process
can we be sure there is no other better option than this?
Cancel was a good idea ngl ๐
There's no alternative I'm afraid. There's details on this here: https://stripe.com/docs/payments/payment-methods#payment-notification