#leon-sepa-notification
1 messages · Page 1 of 1 (latest)
Hi Leon! Are you setting up your own recurring payment system, or are you using Stripe's subscriptions API?
I am using Subscription Schedules API to charge a big amount in small monthly installments
Got it!
You can use the invoice.upcoming event (https://stripe.com/docs/billing/subscriptions/webhooks#events) to do this. You can configure the number of days before renewal in the Dashboard: https://dashboard.stripe.com/settings/billing/automatic
From that same Dashboard settings page (https://dashboard.stripe.com/settings/billing/automatic), you can configure it so that we send the email for you!
Can I change the wording in the email there too? I mean its not a real "subscription" its an "installment"
And is it possible to use it only for specific payment methods? A credit card charge will generally success
A sepa payment is a higher risk it will fail
Unfortunately, you can't change the email wording, so you'll have to send your own email after you get the invoice.upcoming webhook. 😦 You will have to look up the payment method the invoice will use by looking at:
- invoice.default_payment_method
- if that's unset, subscription.default_payment_method
- if that's unset, customer.invoice_settings.default_payment_method