#gokul-raj_error

1 messages Β· Page 1 of 1 (latest)

desert otterBOT
#

πŸ‘‹ 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.

vale flax
#

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'

tight elbow
#

The Stripe account ID acct_1OPkg7Itc1yGX3T you shared does not appear to be a valid ID. I recommend you double check it.

vale flax
#

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.

desert otterBOT
fierce kraken
#

πŸ‘‹ taking over for my colleague. Let me catch up.

#

could you please copy paste the account ID

vale flax
#

acct_1OPkg7Itc1yGX3T

fierce kraken
#

from the dashboard please

#

this is the wrong ID

#

there might be a missing letter or something

desert otterBOT
fierce kraken
#

yep it seems that your ID is acct_1OPkg7Itc1yGX3Tg

#

there's a missing g at the end

vale flax
#

acct_1OPkg7Itc1yGX3Tg

fierce kraken
#

yep

vale flax
#

i checked in the curl it is sent corrently

fierce kraken
#

do you have the request ID?

vale flax
#

i was using the id mentioned in the thread, that why it was missed

#

No, i don't have a request ID.

fierce kraken
#

this is how you could retrieve one

vale flax
#

I am not able to see that api log since this call is made from stripe JS

fierce kraken
#

what's your website?

vale flax
#

Open this link and then click continue , wait for few seconds, you will see apple pay button.

fierce kraken
vale flax
#

I have registered and it is enabled

fierce kraken
#

but are you using Direct Charges?

#

it's actually working fine for me

#

where are you testing it from?

vale flax
#

india

fierce kraken
#

Apple Pay is not available in India

vale flax
#

How can i test this flow from india?

fierce kraken
#

you can't really

#

in all cases, I see you're creating Charges which is far from ideal

vale flax
#

As a developer from india its really difficult for me to test complete flow.
Other gateways supports this but why is stripe not supported?

fierce kraken
vale flax
#

even after using different IP via vpn also i am not able to complete payment.

fierce kraken
#

yes you need access to a machine that is not located in India in order to test this

vale flax
#

πŸ˜”