#Issues when submitting order via Stripe, used official docs!

6 messages · Page 1 of 1 (latest)

spiral oracle
#

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
copper parrot
spiral oracle
spiral oracle
#

@worldly depot not really, I had to leave it aside moved on with other things, will get back to it later. Maybe someone will also help a bit more...

sleek crescent
#

If this is for the payment element. I have an issue open that has a fix for getting past this, but the overall implementation is still buggy for certain payments ie cashapp/certain apple/google pays