#upen_12231
1 messages · Page 1 of 1 (latest)
Hi there!
Hi
What happens when you click the "submit" button on the Payment Element?
showing this message when click on apply pay: Another step will appear to securely submit your payment information.
Do you see any errors in the browser console?
yes: Unrecognized Content-Security-Policy directive 'require-trusted-types-for'.
Do you have a link where I can reproduce the issue?
can you share a screenshot ?
Ok I'm able to reproduce
Your website isn't running over HTTPS
you need to configure https in order to get Apple Pay
There is no redirection when opening your website, from Http to Https. In your screenshot it's mentioned (not secure)
When I try to access to your website via https I'm seeing Apple Pay
You need to configure your reverse proxy to make a rediretcion from Http to Https
ok
showing this message when i click on apply pay: Another step will appear to securely submit your payment information.
Another step will appear to securely submit your payment information.
Do you have a custom csp directive in your hosting provider ?
NO
Can you disable the redirection in that form in order to test what is happening after clicking on submit
I'm not able to reproduce on the quickstart
sure
small doubt, when i click on apple pay why apple pay wallet not opening?
small doubt, when i click on apple pay why apple pay wallet not opening?
Maybe the form redirection is causing this, that's why I'm asking you to disable it
ok ok sure
Did you try to reproduce the issue on this quickstart ?
When you click on "Submit Payment" there is a redirection. When you click on Apple Pay button you are simply choosing the payment option and not submitting it
the actual flow is : i need to show apple wallet when i click on apple pay button
In that case you'll need to use Request Button or Express Checkout:
https://stripe.com/docs/stripe-js/elements/payment-request-button
https://stripe.com/docs/elements/express-checkout-element/accept-a-payment
ok thank you
if possible can you please provide code/example for stripe apple pay, google pay, .NET MVC
In the public documentation, all frontend code are written in Javascript or mobile sdks, but not for .NET MVC AFAIK.