#dashen0897_code
1 messages · Page 1 of 1 (latest)
👋 Welcome to your new thread!
⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1300665199224688680
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! how can I help?
hello,As I described, I want to use Payment Element in combination with Express Checkout Element. I enabled Google Pay, but the page does not display.
My payment domain name has been verified
I want to make sure if I'm missing any steps.
Can you share the link to the site where you have the Express Checkout Element?
it's showing for me
did you login to your Google account and have a real, valid card added to your Google wallet?
I didn't add the real card, maybe this is the reason
Link,PayPal,Apple Pay,Google Pay hé Amazon Pay, dōu xūyào pèizhì zhēnshí kǎ xìnxī cái kěyǐ duì ma
59 / 5,000
Link, PayPal, Apple Pay, Google Pay and Amazon Pay all require real card information to be configured, right?
[DEV]: For demo purposes only, display dynamic payment methods annotation and integration checker ,Why does this reminder appear and disappear?
You should add a real card to test for Apple Pay and Google Pay. If you want to always see the Apple Pay and Google Pay button, you can configure it here : https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-paymentMethods
Our docs mention
By default, Apple Pay (and Google Pay) shows when the customer is using a supported platform and when we determine it's advantageous for your conversion. This is the auto behavior.```
[DEV]: For demo purposes only, display dynamic payment methods annotation and integration checker ,Why does this reminder appear and disappear?
This looks like it's from a comment in one of our samples. If you delete it, it shouldn't show anymore
It seems that I need to read the document in more detail. Thank you for your answer.
hello
Apple Pay, you need to register a payment domain name in Apple Pay first, and then fill it in again in the Stripe background before you can use it, right?
What this means is that you must register all the website domains where you want to display the Apple Pay button with Apple, and then fill them in the Stripe Dashboard. Is this right?
fill them on the Payment methods domains page in the Dashboard
You mean register the domain?
yes
I think you mean setting up the domain assoication file before registering the domain?
Exactly
I just want to confirm: Is it necessary to register the top-level domain and subdomain with Apple?
yes?
It depends on where you host the Apple Pay payment page.
For example, if the Apple Pay payment is at www.example.com, you should register www.example.com
If the page is at example.com, register example.com
What I want to ask is: Is it necessary to register a domain name with Apple?
My initial idea was to register a payment domain name on Stripe, and then I saw the Apple Pay button on my store page.
Now it seems that there is still one step missing, go to Apple to register the domain name for payment
You need if you want to accept Apple Pay, that's the requiremtns from Apple
Hmm, you mean register the domain directly with Apple? No, you do it through Stripe.
yes,I get it
I have now activated Apple Pay on the Chrome browser, verified the domain name, and used the following code on the front end
const options = {
paymentMethods:{
applePay:"always",
googlePay:"always"
}
}
const expressCheckoutElement = elements.create('expressCheckout', options)
expressCheckoutElement.mount('#express-checkout-element')
My page does not display the Apple Pay button, and the following error occurs
why is that
Apple Pay only works in Safari
express checkout element
code:
const options = {
paymentMethods:{
applePay:"always",
googlePay:"always"
}
}
const expressCheckoutElement = elements.create('expressCheckout', options)
expressCheckoutElement.mount('#express-checkout-element')
Google Pay can be displayed, but Apple Pay is not displayed on Safari
https://dashboard.stripe.com/test/settings/payment_method_domains?enabled=true you haven't registered your domain
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Or you use the publishable key from a different account?