#tyrzaphir_code

1 messages ¡ Page 1 of 1 (latest)

wide nightBOT
#

👋 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/1390358756939796685

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

terse quarry
#

Hi there

lost moss
#

Hi @terse quarry , this is very similar to our discussion the other day, but we want our consumers to have the option to set up an Apple Pay payment method in our platform on either the S700 devices or our website, whichever they prefer. Curious if there is a way we can make that happen

#

For context this is already working fine for all payment methods except Apple Pay

terse quarry
#

What's the issue you are seeing with Apple Pay

lost moss
#

The "Apple Pay" button does not show up on our Stripe Elements widget on our web page. I tried adding in the "applePay" key to the options as shown in the code above, and that did make the Apple Pay button show up. However, that seems to only work if an amount and date are specified. In our use case, we do not know the amount or date ahead of time

terse quarry
#

This is for Payment Element, yes?

lost moss
#

Yes

terse quarry
#

Amount/date isn't really required -- you don't necessarily need to use Merchant Tokens here, they are more intended for Subscriptions.

#

That said, if the button isn't showing up then there is likely another issue -- are you testing with a live card in your wallet?

#

And did you register your domain?

lost moss
#

Let me double check

lost moss
#

My first test had been on an unregistered domain, and my second was on a registered domain, and that's why apple pay wasn't showing up the first time. Testing on the registered domain shows the apple pay button even without the merchant token type settings. Sorry for the confusion and thanks for your help!

terse quarry
#

Np! Glad it is working

lost moss
#

Quick followup. Does registering a top-level domain count as registering all subdomains matching that top-level domain, or does every sub domain need to be registered individually.

Basically, can I just register wrstbnd.dev or do I need to register test1.wrstbnd.dev and test2.wrstbnd.dev and test3.wrstbnd.dev to get Apple Pay to work on all three of those?

terse quarry
#

Nope you need register each subdomain

lost moss
#

Gotcha, that was the problem. Good to know!

terse quarry
#

You can do this via the API though so it should be easy to set it up whenever you are adding a new domain.

#

And there are no limits on amount of domains