#TheBro

1 messages ยท Page 1 of 1 (latest)

limpid sapphireBOT
oak grotto
#

Hi ๐Ÿ‘‹ what's the question?

rancid cargo
#

adding or removing a Web domain from apple pay will have no affect on an iOS application we already have an iOS certificate for right?

oak grotto
#

correct

rancid cargo
#

Would there be any reason why apple pay would still display without having it listed on the web domains?

#

if we had the implementation through @stripe/react-stripe-js and @stripe/stripe-js

limpid sapphireBOT
oak grotto
#

I think that it depends on how often Apple is checking the certificate, as I don't think it's after every transaction, but I'm not totally sure.

rancid cargo
#

do you know where I could find that information?

distant tiger
#

can you share more on the issue? Is your real question that you've removed the Apple Pay domain and it's still showing on your website?

rancid cargo
#

yes

distant tiger
#

we don't actually delete the registered Apple Pay domain from our side. How are you currently integrating with Stripe for Apple Pay on your site? Are you using the Payment Request button?

rancid cargo
#

Rendering the <Payment /> element from @stripe/react-stripe-js

along with stripe.confirmPayment(...) from

const stripe = useStripe();
distant tiger
#

out of curiosity, why do you want to remove/disable Apple Pay from your website specifically?

rancid cargo
#

It has not worked properly. It occasionally works. I posted about this before in previous posts but when testing via you guys it never fails ๐Ÿ˜ข

But one of three things happens.

  1. As soon as stripe.confirmPayment is called. The following error is consoled.
{
  message: "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."
  type: "invalid_request_error"
}
  1. When prompted to the apple pay window the event is never reached by the user's phone
  2. Works as intended
#

pi_3N5dGqFdV4bT3T5F05Xl96NP is an example of it working

distant tiger
#

i looked through a couple of past threads, and i don't see 1 and 2 being mentioned to us previously

#

do you have a test site where we can reliably reproduce 1 or 2?

rancid cargo
#

let me find the previous thread

rancid cargo
distant tiger
#

have you written in with the details below what two-shoes mentioned?
(1) A detailed step-by-step explanation of how to get the Apple Pay behavior 100% of the time
(2) A test environment (like the one you gave Bismarck) that we can use to follow your step-by-step explanation and see the behavior ourselves

rancid cargo
#

It does not do the same thing every time that is the issue

#

when Bismarck tested it worked perfectly

distant tiger
#

if we don't have a reliable way to replicate the issue, then there's very little that we can do to troubleshoot unfortunately

#

i'd suggest observing or testing it more to see if you can spot any specific trigger behaviour

rancid cargo
#

from your knowledge any any one else reported any related issues?

distant tiger
#

right now, we don't fully understand what's the issue you're facing - you mentioned to my colleague that

  message: "Something went wrong. Unable to show Apple Pay. Please choose a different payment method and try again."
  type: "invalid_request_error"
}
shows when the user has not cards saved to their apple wallet

which seems totally normal

We need a clear explanation of the problem you're facing, a step by step explanation of how to replicate the problem and a test environment which we can use to follow your step by step and see the behaviour ourselves

#

without all of these, there's really not much else we can do or say regarding what you're facing / seeing

rancid cargo
#

what would cause that error message?

distant tiger
#

that error message shows when we can't show the payment interface

rancid cargo
#

what are the use cases that would cause the payment interface to not be able to be shown?

distant tiger
#

I don't know off the top of my head

#

you can reach out to https://support.stripe.com/contact/email with your test site and describe the problem you're facing, along with your question and we can look into it further.

rancid cargo
#

would you know where in the stripe documentation I could find the use cases that produce that error?

distant tiger
#

there isn't any documentation for this

rancid cargo
#

oh ok