Skip to content
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

Order won't submit on Mobile Safari #36

Open
BrendanBerkley opened this issue Apr 11, 2014 · 0 comments
Open

Order won't submit on Mobile Safari #36

BrendanBerkley opened this issue Apr 11, 2014 · 0 comments

Comments

@BrendanBerkley
Copy link

This is a bigger problem than django-zebra, but I wanted to post this here anyways because I figured some better minds might be able to help work through the problem.

This question roughly mirrors the problem I've been having. We integrated Stripe and Zebra into our site. When I test submit on an iPad, it'll prompt to save the credit card. When you press any of the buttons, it breaks the submit process. The $("button[type=submit]").attr("disabled","disabled").html("Submitting..") line has been fired, so you can't click again, but the submit process never moves forward.

The most obvious answer would be to change the name of the credit card field to something that iOS wouldn't recognize; but overriding forms.py doesn't feel like a very good solution. Not sure if sidestepping the feature is a great solution anyways; ideally; we'd come up with something that detects the problem and addresses it directly. Not sure if there's a way to use JS to monitor the submit process to allow for a second submit in a situation like this?

I'll continue to research the problem on my own, but any help is appreciated! iOS is pretty big for mobile commerce these days, so I'm sure I'm not gonna be the only one who has this problem.

BrendanBerkley added a commit to BrendanBerkley/django-zebra that referenced this issue Apr 25, 2014
See GoodCloud#36 - this is the
fix for it that worked for me.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant