Welcome, Guest!
By registering with us, you'll be able to discuss, share and private message with other members of our community.
- 0
Sign in to follow this
Followers
0

Is possible to add function to advanced-api.js ?
Asked by
toplakd
I'm sure this was noticed before, but nobody made a fix for it, or at least I didn't find it.
Advanced api payment does not respect no available carriers (as they are out of range) on one page checkout.
It just proceeds and confirmes payment without added shipping.
So, what i'm asking is, is it possible to add some event checker to the .js that checks if carrier has errors, and throws that error out like the error with no checked TOS or not selected payment?
As without that, the opc for advanced no good, as if you can not hide it with display:none (not secure) and if its hided as remove div, on div reload the events are gone and can not select payment or click on Order button.
Share this post
Link to post
Share on other sites