I’ve been following your tutorial to set up Stripe, but I’m encountering an issue on my end.
Here is the flow I have set up:
- When someone is interested in an event and wants to confirm their participation, they click the CTA button.
- This CTA button creates a Stripe paymentIntent, which I use to display the checkout form via the Stripe integration in WeWeb. The checkout form is added through the input form component in WeWeb.
- I link the custom secret to enable the form’s visibility. However, whether I add a card or not on the form, pressing the CTA button confirms the order. I created an API call to confirm the order because the native confirm payment Stripe component doesn’t seem to recognize the checkout form.
Can you help me understand what might be going wrong?