I've been using cart/add.js for Cash on Delivery in the checkout page. When users choose Cash on Delivery in the checkout page, the charge for Cash on Delivery will be automatically added to the cart on the right side of the checkout page so that we can charge the customer for the fee.
I built this on the store and it works fine up until now. However, I noticed that it no longer works in the newest version of Chrome (version 79.0.3945.88) on macOS Catalina. When I choose the Cash on Delivery, the "Cash on Delivery" product isn't added to the cart on the side of the checkout page. However, the charge for this is still added as usual.
It still works correctly in other browsers and on Window's Chrome. I was wondering if there is a bug or error with the Shopify system or if there is something in the system that is not compatible with the new version of Chrome. Anyone experiencing the same thing or know anything. I'd really appreciate if I can get any information regarding this.
Thank you in advance.
Hey @developer2019 ,
I have tested this with Chrome version 79.0.3945.88 on macOS Catalina, and so far I have experienced no issues reproducing the use case you have provided (i.e. upon user selecting Cash on Delivery, call the POST to /cart/add.js via jQuery to add a new item to the cart). If you are still experiencing this issue, is there any further instructions or steps you can provide in order to reproduce this?
Hassain | Developer Support Specialist @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Click Accept as Solution