Stripe - Get data - Subscription - Retrieve; not returning correct data

Hey @cmccray, not sure if you’re still looking for your answer or figured it out by yourself, but just in case: Stripe returns the date in epoch time (time elapsed since January 1, 1970) in secondes, while Bubble expects milliseconds.

So the workaround is to get your Stripe data as a number (instead of a date), and add that to “current date/time change year to 1970, change month to 1, change day to 1, change hours to 0, change minutes to 0, change seconds to [your Stripe date formatted as a number]”.

See also this post.

1 Like