Getting an unhelpful error when trying to create a Stripe payment intent: “This value must be greater than or equal to 1”. Its not clear which value is being referred to. Can anyone help please? Details in loom:
It may be because the price is set to 0.
Stripe is very detailed with the error responses, it’s one of the best for this. You miss the information of which property is generating the error probably because weweb is not returning the full error from Stripe.
In general the best way to interact with Stripe is from your backend with direct API calls. In this way you have access to all the properties for the specific request and the complete error message.
1 Like
The Stripe payload should be displayed in full. Could you file a bug on support.weweb.io? Thanks
1 Like