Hi All,
I have found the latest Stripe components seem to be easier to setup. The problem I am having is that the payment method from the stripe-payment component is not being relayed to the payment intent. The payments are going to Stripe but not being processed - reason given "status": "requires_payment_method" Because the stripe-payment element has the payment type tabs shouldn't the chosen payment method be transferred to the server side payment intent?
As a side topic I spent 4 hours with AI trying to get it to create a stripe payment and it could not do it. It kept using old components that were deprecated and its final advice was that the Wappler Stripe documentation must need updating and to use the latest extensions.
Hi Patrick, I have the stripe-elements on the page and stripe-payment. That is all. I am close as everything works except the error saying the "requires-payment-method. I cant see the confirmPayment method on the Stripe Payment element. Do you mean the flow on the button? I don't have that and will try it
The confirmPayment method on the Payment element calls stripe.confirmPayment and sets the elements property to the instance of the Elements element on the page. The Elements instance knows about the Payment element and collects all the information from it and sends it to Stripe.