#dpetrovaliev

1 messages ยท Page 1 of 1 (latest)

remote minnowBOT
foggy geyser
#

๐Ÿ‘‹ Thanks for reaching out
Could you please share the Checkout Session Id ?

tender hill
#

let me find it

#

"cs_test_b1aJU8834O6SmydZMZppVPBjV8BrVQJX52dYsxk6XSbkCokaGIg3B8tSZ5"
this is an example where i requested 15 days and got 14 days

#

(as a workaround) ๐Ÿ˜„

foggy geyser
#

Thanks for sharing let me check

#

So the trial date for the resulting subscription sub_1Lxs2UGiUVmX0gi8xKlUnivf are:
start -> 2022-10-28 12:51:58
end -> 2022-11-12 12:50:05 which is in 15 days from now

tender hill
#

ok but i'm seing 14 days when open the stripe checkout page

dry pond
#

Hi ๐Ÿ‘‹ sincere apologies for the delay. Please bear with me a moment while I catch up on the context here.

#

I tried accessing the session that you referenced to see if I saw something different, but saw that the link had expired. I suspect our Checkout page is accounting for time-zones and rounding. Have you tried using trial_period_days rather than trial_end?
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-trial_period_days