Stripe Library - Setting Trial End Date - UNIX issue with milliseconds

I am currently using stripe library plugin to create a subscription for my customers. I want the first billing event to happen on their first visit which is usually 7-10 days after they sign up.

Without using a trial end, the subscription sign up works fine. But when I try to add a date to trial end, I get this error:


Does anyone know why this is? It seems that Stripe maybe wants UNIX in seconds and its extracting UNIX into milliseconds, maybe? Is there any fix for this?

If i try to use billing_cycle_anchor instead, I get the same error:

Maybe a little bit late, but just divide the unix of Bubble (in ms) with 1000 and round to 0 decimals

1 Like