Forum Academy Marketplace Showcase Pricing Features

Prevent browser popup 402 error message of Stripe

When I do a API call to Stripe to test a card for insufficient_funds I receive a annoying browser popup 402 error message of Stripe. The error is correct, but I don’t want to have it shown up by a standard error message of the browser. Instead I want to get that insufficient status of the card by a API get call or webhook. The user will not understand the error message.

I asked Stripe support and they say that the solution should be found at Bubble’s side, not at Stripe’s side.

Does anyone know how to avoid this message? (See screenshot)

Wrap the Stripe call in Integromat. Then you can handle the 402 in your Workflow.

1 Like

Hi Nigel, you mean create a workaround with integromat.com?

Correct, yes.