#Greggles
1 messages · Page 1 of 1 (latest)
Hello! Possibly; what behavior are you seeing?
Google Payments shows the wrong price on checkout. I create a paymentintent for one price, but if another price is selected I change the price on the paymentintent. It works correctly for cards but not Google Pay.
Are you using the Payment Element? Payment Request Button?
With Apply Pay, when I check out, the wallet window on my phone slides up then down really quickly and the payment never resolves.
Payment element
Again, cards and other payment methods work fine in production and in test mode but these 2 are glitchy
Do you see any errors in the web dev console when that happens?
lol fantastic question! I don't know. One second.
👋 this sounds like a couple things. First, are you calling fetchUpdates after you update the PaymentIntent amount: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements#fetch-updates ?
Second, for Apple Pay, are you a platform creating charges on a Connected Account?
error message in test mode
Could not create Apple Pay session. Please make sure you have registered this Stripe account. For more information, see https://stripe.com/docs/apple-pay#web.
Yep sounds like Connect, right?
We have Apply Pay enabled on our staging server. We disabled it in production after seeing the errors
Can you provide a PaymentIntent ID that you are testing with?
pi_3M2gkhGxG8m2870U1BoEAMLx
Apple Pay is showing on the site but the response body is not showing it as an option.
"payment_method_types": [
"card",
"acss_debit",
"afterpay_clearpay",
"alipay",
"klarna",
"link",
"us_bank_account",
"wechat_pay",
"affirm"
],
Thanks looking
Okay so your domain is registered in testmode only. That is the issue
@paper field in response to your first question, our UI shows the correct price, on submittal, the Google Pay price is the original price.
Sounds like you registered it via the API using your Test API key
You either want to register it in live mode (using your live API key) or via the Dashboard (which will properly register it in livemode)
But yeah you need to register the domain in livemode as a requirement here for Apple Pay
Yep that is likely because your aren't fetching updates to the PaymentIntent. So the underlying modals for Google Pay and Apple Pay don't get updated, though the PaymentIntent still charges the correct amount
We did register it and it did the same thing on the live site.
OK great to know, thank you for that.
Can you do me a favor and delete the current registration from that test account and re-register it in livemode (or via the Dashboard) and try again?
It's reregistered in live and disabled in test.
Not seeing that be true for the account related to pi_3M2gkhGxG8m2870U1BoEAMLx
Let me run a test in live mode and get you a new PI ID
Sounds good
pi_3M2h2yGxG8m2870U1XEvHSqW
Still seeing the domain only registered in testmode
Did you delete the domain before re-registering?
If not, it is "idempotent" and won't take
I guess I don't know how to do that. Can you walk me through it?
Ah! I never configured a domain!
We don't show you testmode-registered domains in the Dashboard
Actually can you try to just register via the Dashboard
You may not have to delete the test-mode one and it might just register correctly in live mode.
So go https://dashboard.stripe.com/settings/payments/apple_pay in your Dashboard
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And click "add new domain"
Yes I'm doing that right now. I didn't know there was an extra setup step for this payment method.
OK my lead is out and I don't have permissions to create the well-know directory. I'm going to assume this was the problem all along. Thank you very much for your help.
Test it out when you get a chance and then come back and let us know if it still isn't working!
Thank you, i appreciate the help from the both of you!