When using so_taxes with payment module, the order total preview keeps refreshing on checkout page.
You can bypass this setting by unchecking the order total preview box under the "Payment Settings" section.
Store Administration > Configuration > Checkout settings > Edit > Checkout panes
(admin/store/settings/checkout/edit/panes)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | order_total_preview_recursion-6.x-1.4.patch | 754 bytes | rfreij |
Comments
Comment #1
webkenny commentedWe have identified a possible cause of this issue. It appears that when the Delivery Information for an order is left blank, i.e. on the first pass of the checkout form, this endless loop continues. Still investigating possible solutions. Below is a dump of the POST variable being sent that continues to cause the loop:
As you can see, the delivery_zone and other delivery variables are empty and no billing has been entered either. There are no checks in the module to ensure that something exists before continuing. Basically it just checks to see if billing is present and if not, it puts the delivery address in its place. If both do not exist, then there is an endless loop created somehow.
Some more information of interest. The post to calculate occurs twice as indicated by the screen shot (http://skitch.com/kennysilanskas/nmxbc/so-firebugview) - The first call returns the proper information, the second returns an empty set. And then the loop continues on executing 4 calls at a time, populated and empty respectively.
Comment #2
Service Objects commentedFor now, it looks like the solution is to deactivate the preview pane. I'll look into fixing this more elegantly in the module code but for now I'm postponing the issue until after the upcoming 1.4 release.
Comment #3
Service Objects commentedComment #4
Docc commentedsubscribe
Comment #5
mwisner commentedsubscribe
Comment #6
rfreij commentedHere is a working patch that solves this issue....
Comment #7
webkenny commentedThis patch looks good to me. It does the necessary check before applying the update. Thanks Ramsey!
Comment #8
jlockhartsubscribe
Comment #9
Service Objects commented