#dashen0897_code

1 messages · Page 1 of 1 (latest)

severe yachtBOT
#

👋 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.

feral crystal
#

hello! how can I help?

brittle rover
#

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.

feral crystal
#

Can you share the link to the site where you have the Express Checkout Element?

brittle rover
feral crystal
#

it's showing for me

#

did you login to your Google account and have a real, valid card added to your Google wallet?

brittle rover
#

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?

feral crystal
#

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

brittle rover
#

It seems that I need to read the document in more detail. Thank you for your answer.

severe yachtBOT
brittle rover
#

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?

strong crag
#

I'm taking over this thread

#

what do you mean by "fill it in again" ?

brittle rover
#

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

strong crag
#

You mean register the domain?

brittle rover
#

yes

strong crag
#

I think you mean setting up the domain assoication file before registering the domain?

brittle rover
#

This section of the document

strong crag
#

Exactly

brittle rover
#

I just want to confirm: Is it necessary to register the top-level domain and subdomain with Apple?

#

yes?

strong crag
#

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

brittle rover
#

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

strong crag
#

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.

brittle rover
#

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

strong crag
#

Apple Pay only works in Safari

brittle rover
#

Safari also cannot display it.

#

this is my test url

strong crag
#

Are you using express checkout element?

#

or payment request button

brittle rover
#

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

strong crag
brittle rover
#

It's been verified.

strong crag
#

Or you use the publishable key from a different account?