#Balayette - SEPA

1 messages · Page 1 of 1 (latest)

torn basalt
#

Hi there. Discord is really busy right now. I'll get to this in a moment

#

So just to confirm here this is a subscription payment

#

You're saying the subscription cancels, but user is still paying?

hearty ocean
#

Yes, this is a Subscription payment.
The initial payment, the first time the user pays for a subscription.

#

if payment fails, we allow retries.
But when using SEPA, and the payment fails, the underlying subscription is deleted

#

Yet the PaymentIntent can be retried, and succeed.

torn basalt
#

Can you share the request id where the paymentintent is successfully paid after the subscription is deleted?

hearty ocean
#

evt_3LfNs3GEyHW8rucE0KPZbqjF
here's one payment_intent.succeeded after a subscription was deleted

#

is that what you're after ?

torn basalt
#

Yes that will work. One moment

#

Ok and can you share the request ID or event ID where the payment failed?

#

Not finding that one

hearty ocean
#

I reproduced the whole process here is the log :

coco@montrese.com's details were updated
evt_1LfP7HGEyHW8rucEmqyINjpl
07/09/2022, 16:20:35
coco@montrese.com's details were updated
evt_1LfP7GGEyHW8rucEakGnNlzC
07/09/2022, 16:20:34
coco@montrese.com's payment for an invoice for €14.40 succeeded
evt_1LfP7GGEyHW8rucEwxFO1Wfz
07/09/2022, 16:20:34
coco@montrese.com's invoice for €14.40 was paid
evt_1LfP7GGEyHW8rucEVzMSjdaW
07/09/2022, 16:20:34
coco@montrese.com's invoice has changed
evt_1LfP7FGEyHW8rucEINjDB7yF
07/09/2022, 16:20:33
The payment pi_3LfP5rGEyHW8rucE0hOydgz0 for €14.40 has succeeded
evt_3LfP5rGEyHW8rucE0FNh0gBA
07/09/2022, 16:20:32
coco@montrese.com was charged €14.40
evt_3LfP5rGEyHW8rucE0YzF9PUH
07/09/2022, 16:20:31
coco@montrese.com's invoice has changed
evt_1LfP78GEyHW8rucEvPVfGIc4
07/09/2022, 16:20:26
The payment pi_3LfP5rGEyHW8rucE0hOydgz0 for €14.40 is processing
evt_3LfP5rGEyHW8rucE0mR9Lv4F
07/09/2022, 16:20:26
A SEPA debit payment method ending in 2606 was attached to customer cus_MIaKvcuwnA8aPI
evt_1LfP78GEyHW8rucEPwjS7Vz8
07/09/2022, 16:20:26
A €14.40 payment is pending for coco@montrese.com
evt_3LfP5rGEyHW8rucE03Lh5Ok2
07/09/2022, 16:20:26
#
coco@montrese.com's subscription to price_1J5tZiGEyHW8rucEH9SHTLWV was cancelled
evt_1LfP6pGEyHW8rucE3QOoXeMx
07/09/2022, 16:20:07
coco@montrese.com's invoice has changed
evt_1LfP6oGEyHW8rucEOj7IoBUu
07/09/2022, 16:20:06
coco@montrese.com's payment for an invoice for €14.40 failed
evt_1LfP6mGEyHW8rucENfqdzMOo
07/09/2022, 16:20:04
An attempt to fulfil the payment pi_3LfP5rGEyHW8rucE0hOydgz0 for €14.40 failed
evt_3LfP5rGEyHW8rucE0yEW2xhJ
07/09/2022, 16:20:04
coco@montrese.com's payment for €14.40 failed
evt_3LfP5rGEyHW8rucE0pGuYXHL
07/09/2022, 16:20:03
coco@montrese.com's invoice has changed
evt_1LfP6hGEyHW8rucEVl3vRrLx
07/09/2022, 16:19:58
coco@montrese.com's subscription has changed
evt_1LfP6hGEyHW8rucE4d1veRIa
07/09/2022, 16:19:58
The payment pi_3LfP5rGEyHW8rucE0hOydgz0 for €14.40 is processing
evt_3LfP5rGEyHW8rucE0FMBquie
07/09/2022, 16:19:58
A SEPA debit payment method ending in 2607 was attached to customer cus_MIaKvcuwnA8aPI
evt_1LfP6hGEyHW8rucEkOlbjo0g
07/09/2022, 16:19:58
#

reads from bottom to top sorry 🙂

#

original payment fails : evt_3LfP5rGEyHW8rucE0pGuYXHL
subscription deleted : evt_1LfP6pGEyHW8rucE3QOoXeMx
second attempt succeeds : evt_3LfP5rGEyHW8rucE0FNh0gBA

green cave
#

Hello, codename_duchess had to step out but I can help in a minute. Working my way through those events now...

hearty ocean
#

Great ! Thanks, i'll give this configuration option a go 🙂

green cave
#

Which in this case is cancel the subscription. I think that that means that if you want to allow retries like this, you would need to change that setting to leave subscriptions as is and then add your own code to handle whether to cancel a subscription at the end of the retries. Otherwise it might be best to just reach out to your SEPA customer and set up a new subscription with a different PM

#

Sounds good, let me know if you have any questions.

hearty ocean
#

All good.
Cheers !