Services Plugins FAQs

Stripe marketplace plugin error (just started)

Hi there, I have been using the stripe marketplace plugin for a while and it works fine, except today
all of a sudden we got:

The plugin Stripe Marketplace Express / element Stripe Marketplace Token threw the following error: Error: Expected a string, but got a number (original data: 402)
at _.generate_JS_to_bubble_error (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/d9240ecd70bab461830bc1bcaf4210fcf36318d57b803ade3531dca70d249501/xfalse/x15:6:529018)
at Object.JS_to_bubble (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/d9240ecd70bab461830bc1bcaf4210fcf36318d57b803ade3531dca70d249501/xfalse/x15:6:592897) (please report this to the plugin author)

When people try to add their credit cards.

Any fix?

Thank you!

Hello @sampll

Thank you for reaching out.

The error code you are getting might be incorrect Stripe Marketplace Token configuration, particularly check the “Card Holder Name” field. To help better understand what might have gone wrong and provide a solution to your problem, please provide workflow/setup video recording or screenshots(card token settings). I would also recommend you to check out the demo editor and replicate the setup: https://bubble.io/page?version=live&id=zeroqode-demo-19&name=stripe_extendend_demo&tab=tabs-2.

Please let me know if you have any other questions.

Have a nice day :slight_smile:

Hey thanks for reaching out,

It’s weird because I have 2 sections where they can add a card and it was always working. Just randomly without updating the app, it started to stop working. Might it be from a Bubble update? I see other people are having the same issue.

Here is a video of what happens:
Vidyard Recording?

I also attached screen shots of one of the set ups.
Thank you!


Thank you for your patience @sampll

It might be assumed that the error you are getting is due to the “When StripeMarketplace Token B Card created” workflow event, particularly have a look at the first action “Stripe marketplace - Delete a card”. Can you please try to delete this event, and see if it works. Also, please replicate the Stripe marketplace delete card event from our demo editor page. See the screenshot:

Also, please record a video with a debugger ON so that we can investigate your issue further if the above does not solve it.

Looking forward to your reply.

Hey I think I found the problem, it seems that the credit card number is reading wrong for some reason?

Hey fixed it!

Turns out, you have to change the card number input from “integer,” to “numbers text only” and it fixes the problem!

1 Like

I am glad you’ve found the solution :slight_smile: @sampll

Also, thank you for sharing the solution with other users!

In case there are any other questions, let me know.

Take care.