#chris-subscription-sepadebit

1 messages · Page 1 of 1 (latest)

latent shoalBOT
#

👋 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.

azure nebulaBOT
frigid fiber
#

Hi, let me help you with this.

tardy grove
#

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;
  }
frigid fiber
#

Are you using Stripe Checkout?

tardy grove
frigid fiber
#

Under "Payment methods"

tardy grove
#

I confirm it's already enabled.

frigid fiber
#

Could you please share the Invoice ID?
Also, is it in Test/Live mode? Both settings and the Invoice itself?

tardy grove
#

Initial invoice ID is in_1Ox3pQCSq4VRg4HWhYeYSYFr
Both settings and invoice come from Live mode.

frigid fiber
tardy grove
#

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)

frigid fiber
#

There must be another Invoice object with non-0 amount that you show on the screenshot.

tardy grove
#

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?

frigid fiber
#

Could you please share the URL of the screenshot you shared?

frigid fiber
frigid fiber
#

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.

frigid fiber
#

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.

azure nebulaBOT
whole blade
#

chris-subscription-sepadebit

tardy grove
#

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.

whole blade
#

@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.

tardy grove
#

OK I'll check with them then. Thanks.