Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added confirm on capture and update order total amount without save o… #631
The action to capture the order is the most important action in the authorize/capture flow. So i have added to that action a js confirm that ask if the amount is correct.
To do that i need to have the value in "total order" field in the table "angelleye_order_action_table" updated each woocommerce order operation otherwise i show a bad value.
So i have added an observer to update this value at each operation on the div woocommerce-order-items.