#Aleeex

1 messages ยท Page 1 of 1 (latest)

near raftBOT
thin pulsar
#

Hello ๐Ÿ‘‹
Subscription with a trial period don't require a payment or a payment method. That's why invoice moves to paid and subscription gets active.

In order to handle this better, you can listen for setup_intent.failed webhook events and cross-check with the subscription/customer it is linked to & then cancel the subscription by calling the API

hexed plume
#

Ok, that was my first idea. It's not a trial period but a free plan, but I guess it's the same, right?
Is there any solution not to use a webhook but kind of a parameter on the subscription creation to wait for the 3DS to succeed before creating it?

thin pulsar
#

Not with 0 amount invoices unfortunately.

hexed plume
#

๐Ÿฅฒ

#

ok, thanks for your answer hanzo. Have a good day!

thin pulsar
#

NP! ๐Ÿ™‚ Happy to help