Templates Plugins Courses

Stripe marketplace create card token

I’m creating a marketplace were i’m using the marketplace stripe plug in. And I use the “Create card token” in my workflows and when that is done it is supposed to trigger a new event that is “when card token is created” that has alot of actions in it. The first event “Create card token” never seems to run and I dont know why

I get an error when trying “element Stripe Marketplace Token threw the following error: Error: Expected a string, but got a number” The input fields for adding a card is just integers.

Anyone had this issue or know how to solve it? Thanks

Hi @anders.lund,
Thank you for reaching out.

The error you are receiving points to the content types of the inputs that you are using.
Especially please check the Card Number input (that should be text type) as well as the Card Holder Name input - text.

I would also recommend you check out the demo editor page and replicate the setup: https://bubble.io/page?version=live&id=zeroqode-demo-19&name=stripe_extendend_demo&tab=tabs-2

Please try my suggestion, and let me know if they helped. :pray:
In case I can help you with any additional information - let me know.
Best regards,

Okey, nice

This worked for the credit card so it is working now

But when the user both is connected to stripe and has registered a credit card and I then try to “pay” I got this error

I’m following lachlankirkwood’s tutorial on your plugin btw

Thanks :slight_smile:

When I connect a user to stripe through my app I cant see the account that was created in the Stripe dashboard afterwards…

Do a “buyer” have to registrer a Stripe account to be able to make a purchase?

Hi @anders.lund,
Thank you for your reply.

Would it be convenient for your to share the workflow you are trying to implement within your app?

No, you don’t need to create a new Stripe account for each customer, the Customer ID is linked automatically to the seller account with the card ID if you use the following setup:


1. Seller charge a customer

This action call gives the option for stripe accounts connected to your platform to charge customers while you as the platform owner will receive a fee from that transaction. The source for this action call needs to be the resulted ID from the Link a customer to seller call.

2. Link a customer to a seller

As described above this action call is used when a connected custom account needs to charge a customer. If the customer doesn’t have a card source you should add one first and then use its ID in this action call. Also, this call gives the option for customers to use a card from their list of saved cards. To retrieve the list of a customer’s cards use the Retrieve a customer action call.

For references, please use our plugin Demo Editor page (namely the related workflows as guidance) and see if within your app you’ve implemented the same.

Hope it helps. :slight_smile:
Please let me know if I can help with anything else related to the Stripe Marketplace Express Plugin.

1 Like

This is the flow, when a user click on the “pay” button

I have both the “seller charge a customer” and the “Link a customer to a seller” but in the opposite way

Thank you for all the help btw :smiley: really helpful to get some guidence on this

Hi @anders.lund,
Thank you for your message and sorry for the late reply due to the weekend.

Have you figured out how to solve the above issue?
If not, can you please add our Support Team email to the list of collaborators to your application and provide me a link to your application? This will allow us to check your setup and compare it with our plugin’s demo page.

To add our Support Team as a collaborator, you need to do the following steps in the Bubble Editor:
Settings > Collaboration > Add email support@zeroqode.com

Note: avoid the warning message regarding the plan, as we are an agency and you can easily add us to your collaborators.

Looking forward to your reply.