#harshitbhargava.

1 messages · Page 1 of 1 (latest)

green bluffBOT
mild hazel
#

What's the error you're getting?

short nimbus
#

This is the error

#

For google pay and card it is working fine

mild hazel
#

Hm ok. Can you share the front-end code you're using there?

short nimbus
#

const { error } = await stripe.confirmPayment({

    elements,

    confirmParams: {

      return_url: process.env.REACT_APP_URL + "/driver/confirmation",

    },

  });

  if (error) {

    dispatch(loaderActions.show({ show: false }));

    if (error.type !== "validation_error")

      dispatch(            messageActions.show({

          openPopup: true,

          messageBody: CD_TOLL_PAYMENT_FAILED_SUB_LABEL,

          messageHeader: CD_TOLL_PAYMENT_FAILED_LABEL,

          type: "",

          showClose: true,

        })

      );

    }
mild hazel
#

Does this happen on Desktop Safari as well?

short nimbus
#

We have checked only on iphone

green bluffBOT
mild hazel
#

Hm ok

#

Have you tried connecting the device to your computer and inspecting the developer console to see if there's any additional error messages displayed that might help?

short nimbus
#

Yes i have tried but i didnt find any other error

mild hazel
#

Ok

#

Can you share the payment intent id where you got the above error?

#

Also do you have a test site deployed that we can access to try to reproduce the above error?

short nimbus
#

I am giving you payment intent id

#

pi_3NxszTInbsls4Aao1YvG0WKs

#

For URL i have to ask my team members and then I will let you know

gaunt path
#

👋 taking over and catching up

#

Okie the PI looks just normal. The error you saw is purely from frontend I guess

#

To clarify, which integration you are using? PaymentElement?

short nimbus
#

I am not able to get why i am getting this issue in confirmPayment method?

#

Yes its paymentElement

gaunt path
#

Can you share a public accessible URL?

short nimbus
#

You mean deployed url?

gaunt path
#

Yep

#

So I can test it myself

short nimbus
#

I have to check with my team

#

By the error can i get an idea why i am getting this issue in apple pay?

gaunt path
#

It's still hard to tell. Probably the device, or the Apple Account on the device. That's why I would like to test it

#

You could ask your team mate to test using different iPhone, for example