#chris-subscription-sepadebit
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/1225003105507217408
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi, let me help you with this.
Here is the code for creating the subscription through an API call :
static createSubscription = async (stripeCustomerId: string, priceID: string) => {
const subscription = await stripe.subscriptions.create({
customer: stripeCustomerId,
items: [{ price: priceID }],
trial_period_days: 30,
payment_settings: {
save_default_payment_method: 'on_subscription',
},
trial_settings: {
end_behavior: {
missing_payment_method: 'cancel',
},
},
automatic_tax: {
enabled: true
}
});
return subscription;
}
Are you using Stripe Checkout?
Yes we are. here is a screenshot of what we have on a subscription
You need to enable SEPA in the Invoice settings: https://dashboard.stripe.com/settings/billing/invoice?tab=general
Under "Payment methods"
I confirm it's already enabled.
Could you please share the Invoice ID?
Also, is it in Test/Live mode? Both settings and the Invoice itself?
Initial invoice ID is in_1Ox3pQCSq4VRg4HWhYeYSYFr
Both settings and invoice come from Live mode.
This doesn't seem like the same Invoice, since the amount is zero on this one.
Yes as explained it's a free 30-day trial, so there is no invoice except the first one at 0,00€ when trial is started.
The notification sent by email is a link for updating payment method.
(Correction: it's a 15-day trial on the subscription)
There must be another Invoice object with non-0 amount that you show on the screenshot.
Unfortunately no. Here is the page for the corresponding customer. There is only one invoice of 0,00€ "paid" on March 22. Trial ends on April 6.
Do you want the customer ID or the subscription ID to check?
Could you please share the URL of the screenshot you shared?
Sorry, I meant, for the Invoice payment screenshot.
Oh, I see, that's a link to update the Payment Method on the Subscription before the trial ends. Sorry, I thought it's a hosted Invoice page.
Let me see where do the allowed payment method types come from.
Me and my colleagues don't have an immediate answer. I would suggest reaching out to Stripe Support and saying you talked to us on Discord. My engineering team will take over the case then: https://support.stripe.com/?contact=true
This way we will be able to investigate it in our own time.
chris-subscription-sepadebit
OK let me make that clear for you. I have been redirected from Support to Discord to request some assistance. I would appreciate very very much to avoid going back and forth between your support channels.
If you can't solve it, please escalate this issue ASAP.
@brisk ore I'm sorry but we can not help further here. Our support team should unfortunately never redirect you to Discord. So we're asking that you please work back with our support team to get 1:1 help to debug this further. We unfortunately don't have context on your support case and can't help with this here.
OK I'll check with them then. Thanks.