#ketaaa

1 messages ยท Page 1 of 1 (latest)

versed saddleBOT
pastel atlas
#

Can you told me if this sounds good for you?

still dragon
pastel atlas
#

yeah

#

that's why i'm trying to send a refund request

#

pi_3LqBcMJhyUplILGN1ZPRkpIa

#

if you can have a look

still dragon
#

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?

pastel atlas
#

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

still dragon
#

I'm not sure what you're asking of me here. The payment succeeded, you refunded it

pastel atlas
#

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?

still dragon
pastel atlas
#

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

still dragon
pastel atlas
#

If I do it, you take care of not debiting the money of the customer with the bank?

still dragon
#

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?

pastel atlas
#

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?

still dragon
#

Trying to confirm something

#

In the meantime, can you test what I suggested

pastel atlas
#

[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

still dragon
#

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

pastel atlas
#

can we be sure there is no other better option than this?

#

Cancel was a good idea ngl ๐Ÿ˜„

still dragon
pastel atlas
#

okay

#

that sucks ๐Ÿ˜„ but it is what it is

#

I have an idea

#

can i put the payment on hold?

#

and cancel it after?

#

when it's in processing state?

still dragon
#

What do you mean by hold?

#

There's no such payment status

pastel atlas
#

okay sad

#

๐Ÿ˜ฆ

#

thanks