#bilal-applepay-missing
1 messages · Page 1 of 1 (latest)
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
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' )
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
PaymentElement.
Do you want code snap ?
Can you give me an example PaymentIntent id pi_123456 for me to look at?
pi_3NAxdgKv7Wi3E5yl2gelNLVw
When you test Apple Pay right now, what URL are you using to render the page?
The site page on which I'm implementing apple pay that site url or something else ?
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
Stripe::ApplePayDomain.create({ domain_name: 'domainname.ca, }, stripe_version: '2022-11-15')
I did the domain registration with the above code.
And you passed the exact/right domain?
What do you see on https://stripe.com/docs/stripe-js/elements/payment-request-button? Can you share a picture?
Oh it needs to created on the live mode too ?
I just created it on the test(Staging) mode.
yeah it has to be created in Live mode
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 ?
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
Ok got it let me try .
Is there a way to find out that if we have already verified domain ?
all your domains should appear in the API and in the Dashboard