#Charlie-subscription-checkout
1 messages ยท Page 1 of 1 (latest)
Hello ๐
Can you give me an example request object where this is happening? It should look something like req_123xyz
ID is fine ๐
tried with both, trial_end and trial_period_days
Looking at the request, doesn't seem like those arguments were correctly passed in
If you take a look at the request POST body, there's no trial info under subscription_data
https://dashboard.stripe.com/test/logs/iar_A0PCY0E3Ub0nQr
Then it must be the golang stripe library which is doing this
SubscriptionData: &stripe2.CheckoutSessionSubscriptionDataParams{
TrialPeriodDays: trialPeriodDays,
},
``` it is given to it, and `trialPeriodDays` is 30 in this case
I might have found the root cause, I'll be back once I am sure
Alright, my mistake sorry. There was an internal tool which was overwriting that specific argument by accident. Should have seen that.
Another quick questions as I now saw that invoices are directly generated and marked as paid for the trial period, how do I identify them as such invoices in trialing? By the subtotal of 0?
Yeah I think that's correct
Alright, thanks for the help! And again sorry for my stupidity ^^