#nabeeltahircoredirection
1 messages · Page 1 of 1 (latest)
Which phone and browser do you use?
What integration is used in your checkout website? Payment Element, Payment Request Button or Express Checkout Element?
Iphone 13 (Safari and Chrome)
I have integrated the Stripe element, and I've shared the code in a chat. I followed the instructions from Stripe, but I'm encountering an inconsistent issue. The button sometimes appears in the browser app and sometimes on the mobile browser (iPhone 13). Additionally, it sometimes displays a 'Pay' link, even though we haven't enabled the 'Pay' link on the Stripe dashboard.
https://gist.github.com/muhammadnabeelmehmood/1bd682477636575ecdb8aa370b022e87
CC: @livid goblet
Do you have a card saved in your Apple Pay wallet?
Can you share your development website, so that I can take a look?
Can you share your development website in text, so that I can test in an iPhone?
Here is the link
Apple Pay will not be supported if the domain is not registered. Please follow this guide for domain registration: https://stripe.com/docs/payments/payment-methods/pmd-registration
I registered domain for the apple pay
I will share a screenshot in a while
but why it is showing Google pay for the web and not on the mobile
Google Pay in mobile will be displayed when the requirements in the screenshot are met: https://stripe.com/docs/stripe-js/elements/payment-request-button?client=react#react-testing
Google Pay will only be shown in Chrome on Android (not iOS)
I know that Google Pay can only be displayed on Chrome but it is not showing on mobile Chrome,
Are you testing on Chrome in Android or iOS?
IOS
Have you taken a look at the screenshot I shared? Google Pay on payment request button is only supported in Chrome on Android, not iOS
On ios I am testing on Chrome broswer where I set up Google pay wallet
It's expected that Google Pay is not shown on Chrome in iOS
For Apple Pay, I don't see any domain registered in acct_1JrT4PIgfC3Uic77: https://dashboard.stripe.com/test/settings/payment_method_domains?enabled=true
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Only when the domain is registered, then Apple Pay will show
Why is 'Pay with Link' showing on Mac and iOS if we have not registered the domain?
As you can see in the screenshot that we registered domain
Can you share the one of the pmd_xxx in text, so that I can have a look?
It's likely that you registered on a different account from your integration
pmd_1OV7COJeVDjg74iFP0RjbIJi
The domain was registered on acct_1IuzVcJeVDjg74iF, but your integration was on acct_1JrT4PIgfC3Uic77
They are two different accounts
If the domain is not registered, Link payment method will be shown. Here's the guide: https://stripe.com/docs/stripe-js/elements/payment-request-button
You should register domain on acct_1JrT4PIgfC3Uic77 (the publishable key used in your https://stage-v3-1-0-1.coredirection.com/stripe
Or change your publishable key to the one belongs to acct_1IuzVcJeVDjg74iF
I have only one account, and I have verified the published key. I am using the correct PK_Key, but for iOS and Mac, it still shows 'pay through link.'
Working fine on Chrome
How is it possible that the same domain behaves differently on two different browsers?
Working fine on chrome not working on IOS
Your https://stage-v3-1-0-1.coredirection.com/stripe showed API key using acct_1JrT4PIgfC3Uic77. Can you go to https://dashboard.stripe.com/apikeys and obtain the secret and publishable keys of acct_1IuzVcJeVDjg74iF, then update in your own integration?
I can see Apple Pay showing now
Looks like the publishable key has been updated to the correct account
It was previously pk_test_xxxR1aYm, and it's now pk_test_xxx44A3D
Yes, I have updated PK_KEY; previously, I had added secretkey.
Since the Apple Pay is working now, do you have any follow up question?
Thank you so much for your time