#bilal-applepay-missing

1 messages · Page 1 of 1 (latest)

flat topazBOT
rose torrent
#

Hey @plucky perch ! There are many different reasons why Apple Pay wouldn't appear. First can you explain exactly how you integrated Stripe? What exact feature/product do you use to show/surface Google Pay and Apple Pay?

#

bilal-applepay-missing

plucky perch
#

I used paymentIntent api .
stripe_obj = Stripe::PaymentIntent.create({ amount: @amount, payment_method_types: ['card'], currency: 'cad', customer: @stripe_id, }, stripe_version: '2022-11-15' )

rose torrent
#

That's your server-side code. Client-sid eyou must be using something specific for this so I need to know what this is exactly

plucky perch
#

PaymentElement.
Do you want code snap ?

rose torrent
#

Can you give me an example PaymentIntent id pi_123456 for me to look at?

plucky perch
#

pi_3NAxdgKv7Wi3E5yl2gelNLVw

rose torrent
#

When you test Apple Pay right now, what URL are you using to render the page?

plucky perch
#

The site page on which I'm implementing apple pay that site url or something else ?

rose torrent
#

Apple Pay has strict requirements around how you can use it even in Test mode. You need to make sure that the exact domain you're testing on is registered in Live mode

plucky perch
#

Stripe::ApplePayDomain.create({ domain_name: 'domainname.ca, }, stripe_version: '2022-11-15')
I did the domain registration with the above code.

rose torrent
#

And you passed the exact/right domain?

plucky perch
#

Oh it needs to created on the live mode too ?
I just created it on the test(Staging) mode.

rose torrent
#

yeah it has to be created in Live mode

plucky perch
#

Did that mean after verifying the domain in live mode i can test this in the test(staging) mode ? Even the urls of staging and live modes are different ?

#

And on live mode i need to verify the test(staging) mode url or live site url ?

rose torrent
#

You need to add any URL you want to load Apple Pay on in Live mode on your account. Whether that URL will be used for Live or Test mode

plucky perch
#

Ok got it let me try .

#

Is there a way to find out that if we have already verified domain ?

rose torrent
#

all your domains should appear in the API and in the Dashboard