-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Won’t work on production #2
Comments
I haven't had any problems to date but I can review this on the weekend to see if there is something I've missed. |
Stripe does not allow you to serve their element or JS from a non-secure
page, so we found that Stripe elements would not load in production on iOS
devices.
Instead we are simply now hosting the credit card form on our server and
using an I-frame with post messages to capture the credit card token and
pass it back to the ionic app to proceed
…On Tue, Feb 19, 2019 at 2:06 AM Baadier Sydow ***@***.***> wrote:
I haven't had any problems to date but I can review this on the weekend to
see if there is something I've missed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAE0Am1IPgt2ZL07FrAc34wIbRmslu-Oks5vO6JfgaJpZM4bBvz5>
.
|
Hello @noctivityinc could you please elaborate little more how to use the 'post message' getting the card token back from the I-frame? Thank you. |
This is also an issue for me. The element does not load in production iOS. Error in console: "Live Stripe integrations must use HTTPS". |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Stripe elements requires https to server the page to use stripe.js. In development it’s fine but in production stripe.js won’t load. How do you handle this?
The text was updated successfully, but these errors were encountered: