Input Formatting Plugin/Stripe.js - Sending MM/YY to Stripe

Hey everyone!

I’m trying to use the Input Formatting plugin to have a single MM/YY input to send to Stripe for subscriptions.

Looks like this:

Is there a way to separate the MM and YY to put into Stripe.js?
34%20PM

Thanks!

You can truncate the InputFormatter’s value to 2 to grab the MM and truncate from end to 2 to grab YY.

Demo: https://sandboxthings.bubbleapps.io/version-test/mmyy-input

Editor: https://bubble.io/page?type=page&name=mmyy-input&id=sandboxthings&tab=tabs-1

1 Like

thanks Philip! Clearly I should’ve looked harder, had no idea that truncating was an option :pray: Never saw it as my input for MM/YY was integer and not text.