#waternephew_code

1 messages ¡ Page 1 of 1 (latest)

regal tokenBOT
#

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

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

charred bluff
#

Have you tried and still seeing issues? Or, are you asking how to set it as the default source?

tepid flame
#

Not sure how to do that with digital wallets. So that the card they used via apple pay or google pay shows up here since it will be the source

Like with card, they enter card details, tokenize it, and then we add it as a source. But how do we do that with a card from a digital wallet?

charred bluff
tepid flame
#

How do we create a token and source from a digital wallet like Google Pay or Apple Pay? With credit cards, we enter the credit data into the stripe #card-element component, tokenize it, then use the token to create a source on the customer. How do we do this with Google Pay or Apple Pay when Google/Apple store the card information?

charred bluff
tepid flame
#

Okay. So using PaymentElement, when ApplePay and GooglePay is used, I can fetch a token from it, correct?

#

Or is a token not needed to charge their card once it hits below a certain amount?

charred bluff
#

With the new PaymentIntent and PaymentMethod, when you collect ApplePay/ GooglePay payment methods, they will have their own unique PaymentMethod IDs. You will then use those to make a payment using the PaymentIntent.

tepid flame
#

How can I test apple pay and google pay without using real cards?