Hi,
I recently tried to run Medusa V2 Stripe integration.
After adding all changes into payments payment-button from components, I get when I try to make an order.
IntegrationError: elements.submit() must be called before stripe.confirmPayment(). Call elements.submit() as soon as your customer presses pay, prior to any asynchronous work. Integration guide: https://stripe.com/docs/payments/accept-a-payment-deferred
at Il (https://js.stripe.com/v3:1:476225)
at e._handleMessage (https://js.stripe.com/v3:1:484550)
at e._handleMessage (https://js.stripe.com/v3:1:90822)
at https://js.stripe.com/v3:1:482482