#shubham_code
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/1263812932018634827
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shubham_code, 3 hours ago, 32 messages
'not working'. What's the error you're seeing?
Looks like you're using stripe.paymentRequest?
this error on console
empty total label may be confusing the error
yes for apply pay
Can you share the full code you're using
this is full code
Where is the error thrown in that block? The error message makes no sense
Can you share the actual error
apple pay pop is not coming this is my code you checked
The code looks fine really. I've asked you two things above, please answer
it showing on console
- Each dictionary in the list "icons" should contain a non-empty UTF8 string field "sizes".(waring)
empty total label may be confusing the error
Doesn't sound like a Stripe error nor is it anywhere in your code. So please share the exact error
That's just a warning, not an error
ok sharing on more error
he Content-Security-Policy directive name '' contains one or more invalid characters. Only ASCII alphanumeric characters or dashes '-' are allowed in directive names.he Content-Security-Policy directive name '' contains one or more invalid characters. Only ASCII alphanumeric characters or dashes '-' are allowed in directive names.
Hmm, I don't think that is related either. Does the Apple Pay button render on the page?
Well Apple Pay isn't supported in Chrome on macOS
Apple Pay just isn't supported at all in India: https://support.stripe.com/questions/supported-payment-methods-currencies-and-businesses-for-stripe-accounts-in-india
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.
The button won't render if it's not supported because of location
If you use Express Checkout Element then you can 'force' wallets to always show: https://docs.stripe.com/js/elements_object/create_express_checkout_element#express_checkout_element_create-options-paymentMethods
It's asking me to login
Works for me
I've already explained why (because you're in India)
Clearly it working for customers where Apple Pay is supported, so what's the issue?
I don't understand the question
It works via the Payment Element, looks like your code is broken for the Payment Request Button
[Error] XMLHttpRequest cannot load https://api2.hcaptcha.com/authenticate due to access control checks.
[Error] Failed to load resource: Preflight response is not successful. Status code: 404 (authenticate, line 0)```
I see that in the console when I click 'submit payment' with Apple Pay selected
you selected card method first click on apply pay box
apple pay should render at your end
card payment is working fine
Yes, the Apple Pay in the Payment Element works fine
But the code your shared was for the Payment Request Button, which is this other button at the top. That isn't working
this is complete code for card and apple pay
after click on apple pay and popscreen comes then what is need to click on submit ? it should be compelete at stripe end
I don't know what you're asking me
if this is coming that payment should complete at stripe end
Well I didn't press the pay button in the Apple Pay dialog
ok .. it means it will be working fine. when we do this
It should do yes, but you need to carry out your own testing. We're not here to do that
ok
Hello