All things Shopify and commerce
We are encountering this issue when some users try to perform checkout on our store (it is happening intermittently). We’re not entirely sure why this is happening, since everything appears to be OK, and also because this error is appearing after the Checkout process has been initiated, which is out of our control (since Shopify locks this part of the process).
Users have experienced this on both iOS and Android (on Chrome in both occasions). One thing to note is that we are applying a discount using some javascript before going to Checkout. This is done as follows:
The user is able to get to the first Checkout screen (Customer Information) without issue, and only once they click “Continue to Shipping” (or sometimes once they click from the Shipping screen to “Continue to Payments”) they get this issue.
Anybody have any ideas? Any help would be appreciated.
Solved! Go to the solution
This is an accepted solution.
This worked for me:
Hi there,
@aamirbilvani wrote:
- Since we don’t know whether the discount has been applied or not, we call the checkout page using jquery, and check the HTML response to find out whether the discount has been applied
- Finally, we take the user to the checkout page
Applying a discount code should just be a GET request to /discounts/{discount_code}
Here's an example:
var url = '/discount/' + reward.code; $.ajax({
method: 'GET',
url: url });
You should get a HTTP 200 back. You can perhaps look at the return status instead of parsing the HTML and making calls to checkout which is likely creating a new checkout session that we don't see.
I would also use Chrome developer tools to make sure only the appropriate calls are being made.
HI achieveapplabs. Thanks for your response. Let me try it out.
Hey there.
I wonder if its the API Call that then checks the checkout. I would try to remove that temperately, and trust its being applied and see if that fixes the issue. If it does, then you could look into alternatives for checking or re-enforcing the discount is applied.
This would be a Security feature to prevent Bots if your sending a lot of orders at once from the same connections. Is this all happening on the Same Router connection? If not, I would contact support so they can look into it.
Hi Reincarnated.
I have already created a ticket with Shopify Support, but it's taking them some time to investigate the issue (partly because of the time difference between here and Canada). So far they haven't responded in a satisfactory manner, hence why I am resorting to these forums. We are definitely not sending a lot of orders from the same connection, the orders are coming from individual customers all across the city. The only reason why that could happen is if the ISP/cellular network were themselves sending requests through a proxy, but I doubt that's the case.
How do I fix it. Because I didn't know about this security and was testing Live orders to make sure my site was working then I went to order something and got this message. Does this mean I am blocked now I still have to test a variant to see if it will push through to my app. I can only test this while the site is live so what the crap! How do I get this reset.
Hi there,
I have this EXACT same problem.
Nothing that anyone has mentioned below is working.
Any ideas?? Please help anyone.
Hi achieveapplabs,
I have been emailing the app developer for a week, I removed a certain app to see if this was the issue, it wasn't.
I am still waiting for a shopify support person to come in and fix or explain this issue, instead of just sending me to the app developer.
Is there a phone number for shopify support? I have not been having a positive experience with the shopify email support system.
If this was a security feature created naturally by shopify, then can Shopify fix it?
Hi @Kev6,
We can help you right here in the forum.
Do you have any sales channel apps installed?
Regards,
Sam
Hi Sam,
Currently we have these apps:
"Advanced Bundle Products"
"Best Fit- Size Chart"
"Book That App" - this one has been removed, the coding at least from the designer who is helping me. But tecnically we still have the app.
"Customer Attribute" by Secomapp, This App, we have had and I just removed it about 1 hour ago. Only because the Secomapp suggested removing it to see if it was causing the problem.
Hi @Kev6 ,
Ok we successfully broke our checkout on a demo shop.
We ran this snippet of JavaScript in the browser
for(var x = 0; x < 100; x++){$("input[name='checkout']").click();}
Please tell me the URL when you get this error message as it can be displayed throughout your shop not just checkout.
Regards,
Sam
Let's also not rule out this message could be displayed to some of your shoppers for legitimate security concerns.
Hi @Kev6 ,
Steps would be to use Chrome then visit your shopping cart. Right click and open "inspect element". Select the network tab and select "Preserve log". Next you want to press checkout and hit the error page. Look at the logs it should be flagged red with a 400 series error. Finally in the "initiator" column we can try and identify what made the calls to checkout.
Regards,
Sam
Our store is having the exact same issue. How did you resolve it?
Hi there,
I cleared the cookies on my chrome browser, and that actually did the trick.
If you are not sure how to do this, reach out to Shopify support. Devin I believe was the one who helped me, and he was very polite and kind.
This is an accepted solution.
This worked for me:
Thanks for this fix!
It worked straight away!
But we can't be expecting users to know and perform these steps right? Whts an automated fix to this coz it's happening frequently on my store which I suspect could be the primary reason for our low conversion rate
Is there a solution for this now? Our customers have exactly the same problem
Is there a solution for this now? Our customers have exactly the same problem
Hi, could someone point me to Devin please ?
I have the same "too many attempts" issue on my store
Many thanks
User | RANK |
---|---|
20 | |
18 | |
17 | |
14 | |
11 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023