#trokiize - subscription

1 messages · Page 1 of 1 (latest)

sinful egret
#

Hi! A subscription with a free trial should not need a payment.

#

How are you creating the subscription?

#

And do you have a subscription ID (sub_xxx) to share?

warm zenith
#

this is the code on node backend

 const subscription = await stripe.subscriptions.create({
        customer: stripeCustomer.customerId,
        items: [{ price: priceId }],
        trial_period_days: stripeCustomer.freeTrialUsed ? 0 : 14,
        payment_behavior: "default_incomplete",
        expand: ["latest_invoice.payment_intent"],
      });
warm zenith
sinful egret
#

Thanks! Give me a few minutes to look into this.

#

What do you mean by "customer is charged"? In you subscription I see the first invoice had a 0 amount, so there was nothing to charge.

warm zenith
#

my users tell me that in their bank history the transaction for the full amount is visible

sinful egret
#

Is it the case for the subscription ID you just shared?

warm zenith
#

here's another one sub_1KbWcyLvVHCB8eAG26Xbz0iy
I can also sent you bank history screenshot

sinful egret
#

In this case, it looks like you created a PaymentIntent for this customer: pi_3KbWboLvVHCB8eAG1Hj4gnla

#

And this has nothing to do with the subscription