#gokul-raj_error
1 messages Β· Page 1 of 1 (latest)
π 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/1382623625336717332
π Have more to share? Add more details, code, screenshots, videos, etc. below.
curl 'https://api.stripe.com/v1/apple_pay/sessions'
-X 'POST'
-H 'Content-Type: application/x-www-form-urlencoded'
-H 'Accept: application/json'
-H 'Sec-Fetch-Site: same-site'
-H 'Accept-Language: en-US,en;q=0.9'
-H 'Accept-Encoding: gzip, deflate, br'
-H 'Sec-Fetch-Mode: cors'
-H 'Host: api.stripe.com'
-H 'Origin: https://js.stripe.com'
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.3.1 Safari/605.1.15'
-H 'Referer: https://js.stripe.com/'
-H 'Content-Length: 336'
-H 'Connection: keep-alive'
-H 'Sec-Fetch-Dest: empty'
--data 'validation_url=https%3A%2F%2Fapple-pay-gateway-cert.apple.com%2Fpaymentservices%2FstartSession&domain_name=bcb0-2401-4900-889f-7b61-ecd2-69a4-8945-a112.ngrok-free.app&display_name=qwerty&key=pk_test_51OPkg7Itc1yGX3Tghv6HNprwlv3j1XXJpqVYQuxeTDvHEK0yA3iheefDN6F1Qia7BBBXFNAtdJqKggoxmBHPjO0b00QSjJu2Ve&_stripe_account=acct_1OPkg7Itc1yGX3Tg'
The Stripe account ID acct_1OPkg7Itc1yGX3T you shared does not appear to be a valid ID. I recommend you double check it.
once you've confirmed the account you'll need to register your domiain with Apple Pay [0]
[0] https://docs.stripe.com/apple-pay?platform=web#verify-domain
I have verified that the account ID is valid ID.
And also i have add my domain to the stripe dashboard and enabled.
I am getting same error for stripe express checkout element doc apple pay also.
π taking over for my colleague. Let me catch up.
could you please copy paste the account ID
acct_1OPkg7Itc1yGX3T
from the dashboard please
this is the wrong ID
there might be a missing letter or something
acct_1OPkg7Itc1yGX3Tg
yep
i checked in the curl it is sent corrently
do you have the request ID?
i was using the id mentioned in the thread, that why it was missed
No, i don't have a request ID.
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
this is how you could retrieve one
I am not able to see that api log since this call is made from stripe JS
what's your website?
Open this link and then click continue , wait for few seconds, you will see apple pay button.
you didn't register a PMD https://docs.stripe.com/payments/payment-methods/pmd-registration
I have registered and it is enabled
but are you using Direct Charges?
it's actually working fine for me
where are you testing it from?
india
Apple Pay is not available in India
How can i test this flow from india?
you can't really
in all cases, I see you're creating Charges which is far from ideal
As a developer from india its really difficult for me to test complete flow.
Other gateways supports this but why is stripe not supported?
even after using different IP via vpn also i am not able to complete payment.
yes you need access to a machine that is not located in India in order to test this
π