How to fix stripe Integration with StripeToken Error 400

Hello,

I hope this will help someone some day:

If you have an error 400 about “source” and “type” on wappler:
Check the following step

Step 1: Write “stripeToken” in the global post in the server action. Make sure to respect the format between small letter because it is exactly how it is in the JavaScript document.

tempsnip

Step 2: Select the post variable “stripeToken” and link its value to source.

tempsnip1

Step 3: Make sure the form ID matches the ID in the JavaScript. By trying many time to change the server connect form submit action, the server connect might give the new ID in the form if you keep deleting the server connect form and restart.

When your form ID changes it will be difficult for the server connect app to find token in the JavaScript.

I hope it will be helpful.

Community Page
Last updated: