#nolike_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1250085644970102919
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Apple pay is a part of the card payment method, so it's expected that you'd get Stripe.StripeException: The payment method type apple_pay is invalid.
You're testing your app in the US?
As in your dev is physically in the US?
@feral mortaryes, we are testing app in the US. I am developer, I am from Ukraine.
I include "card" to payment types only, but Appe Pay button is not showing up.
Google pay isn't available in the Ukraine: https://docs.stripe.com/connect/payment-method-available-countries#google-pay
But if you have a dev based in the US physically (ie not using a VPN), then they should be able to test
my colleague is based physically in the US and he tested. Request_id I attached to support ticket is the result of my colleague's test from US: req_gZvyfICs9GReMB.
Also, we aim to make Apple Pay work, not Google Pay.
Ah sorry
Same thing applies though: https://docs.stripe.com/connect/payment-method-available-countries#apple-pay
maybe, but it's not an issue for us, as we test from US.
Did you follow all steps here? https://docs.stripe.com/apple-pay?platform=ios#accept
we use PaymentSheet, as we need both: card and Apple Pay, so I followed this documentation https://docs.stripe.com/payments/accept-a-payment
We did register Apple merchant, uploaded certificates, verified domain.
We also have StripeApplePay dependency on our client side codebase.
Hi there ๐ taking a look as my teamamte needs to step away. Domain verification is only needed for web-based flows, that shouldn't be needed for a native iOS flow.
Before I tried to implement apple pay only from your link and it worked by the way, but only Apple Pay showed up ofc, no card.
Should I extend my implementation?
Hey @twin jasper
To confirm, you did add the necessary adjustments to the Payment Sheet configuration? And you already have a card in the Apple Pay wallet that is set up on the device you're using for testing?
I'm not sure what this means offhand, is there more context? (I'm not sure it's relevant yet though)
so, I tried following this documentation, which describes Apple Pay sheet implementation only: https://docs.stripe.com/apple-pay?platform=ios#accept
I recall this was working for us. it showed Apple Pay flow as intended.
But, we need to show cards as well as Apple Pay, so I switched to PaymentSheet flow and implemented everything from these docs:
I am expecting that this approach should show us card payment sheet as well as Apple Pay button, am I correct?
Yes, if you followed all the instructions from the section of that doc explaining how to enable Apple Pay, this section here:
https://docs.stripe.com/payments/accept-a-payment?platform=ios#ios-apple-pay
then I would expect Apple Pay to be surfaced, though I believe that requires there is already a card in the Apple Pay wallet on the device being used to happen.