#samiya_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/1445319131997012008
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi! By pre-auth are you referring to separate auth and capture: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method? If so, Stripe Billing doesn't support the authorization and capture flow.
That means for recurring payments, we can't use preauthorization for every cycle.
e.g When a user submits a form, a subscription with a trial of 7 days is created. During the trial on the 4th day, an event is triggered (trial_will_end), using which I am creating a manual paymentIntent to create a preauthorization and releasing the hold when the subscription status changes to active. Now what I want is for a pre-auth should be created for every rebill. e.g., let's say the first payment is done today, then a preauth should be created for the next month and so on for every month
or when the payment is due e.g some days before the due date preauthorization should be created. Is there any event that is trigerred during the month?