#mclowrider_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1503718110916513874
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- mclowrider_sepa-debit-testing, 17 hours ago, 65 messages
yes you can't vod the invoice because the payment is in pending state req_r2SD6XYdebCmcu
You need to wait untill the SEPA is completed then you need to proceed with a refund to the customer
Are there any cases with a SEPA pm where it can be cancelled? Another agent said sometimes it can, but not always. Depending on the state with the bank. Is that accurate?
Is there a way to simulate that in test mode?
but if you get an error from Stripe API, that means you can nolonger cancel it. You need to wait untill it completes and then refund the customer
No, if you want to make a test and see how your integration behaves for this use case, you need to mock stripe API calls
Ok. We didnt realise that the invoice cannot be voided either
We thought from what was said by the agent that its the Payemnet Intent we may struggle to cancel
if the PaymentIntent was generated from the Invoice, then this applies to the invoice too yeah
You cannot cancel PaymentIntents created by invoices.
Didn't we realise the above was the case?
What you mean exactly sorry ?
Does that mean we shouldn't even attempt to cancel the payment intent?
You'll get an error if you try to cancel an invoice's PaymentIntent, you need to void the Invoice
We got this message "You cannot cancel PaymentIntents created by invoices." when we tried to cancel the PI
why you want to cancel the PaymentIntent of a given invoice ?
You should just void the correspondig invoice
I spoke to an agent on here, and that's what they advised.
I was told voiding the invoice prevents future attempts, but the current payment intent also needs to be cancelled.
but the current payment intent also needs to be cancelled.
No you can't cancel the PaymentIntent of an invoice, you'll get an error
Apologize for the confusion but you can't cancel a PaymentIntent of an invoice.
So, all we need to do is void the invoice? And if that succeeds, then that's all we need. If not, wait, then refund, right?
We should completely ignore the payment intent attached to the invoice.