Forum Academy Marketplace Showcase Pricing Features

Having issues Stripe API backend workflow - data formatting

Hi All,
I am using Stripe plugin to do credit card payments. All looks good during the subscribing - See screenshot A.

However, I also built a backend workflow API to Stripe for any credit card or payment details, but it is receiving it as “Number” instead of “Date”. See screenshot B

Any idea why and how to fix this?

Thanks in advance!

Stripe sends the date as a Number…number of seconds since epoch time (jan 1, 1970).

when you do detect request data you can remap the data.

Click into the backend workflow on button that is Modify Types

You’ll see a popup like this

Find the date values they are sending and in the dropdown on the right side, change it from number to date and that should work.

Alternatively you can setup a conversion where you take the date Jan 1, 1970 at 12AM and add the number of seconds from the request data to that to arrive at the date.

Learn More

Boston85719 is an expert Bubbler with a decade experience as an educator. Real name Matthew, he has been actively building SaaS apps, marketplace apps, scheduling apps and more for clients, himself and for sale as templates.

As an official Bubble Bootcamp Instructor, he leads Bubble Bootcamps on a regular basis.

Always willing to offer advice via the Bubble Forum, Matthew also offers Private Personal and Group Training Sessions.

Through his site, NoCodeTrainer, Matthew provides a range of tutorials with editor access to help you jumpstart your Bubble development.

Always accessible you can send Matthew a private message via the forum or send an email directly with your requests.

Be sure to checkout the Stripe Integration Course when you are ready to integrate Stripe payments to start monetizing your application via product sales or subscriptions.

Stripe Integration Course

thanks! this helps a lot~

1 Like