Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save incrize/97843d7150f840ca60fc to your computer and use it in GitHub Desktop.
Save incrize/97843d7150f840ca60fc to your computer and use it in GitHub Desktop.
diff --git a/app/controllers/backend/order_management.php b/app/controllers/backend/order_management.php
index e3f005b..e011cb7 100644
--- a/app/controllers/backend/order_management.php
+++ b/app/controllers/backend/order_management.php
@@ -155,6 +155,8 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') {
// recalculate cart content after update
list ($cart_products, $product_groups) = fn_calculate_cart_content($cart, $customer_auth);
+ fn_update_payment_surcharge($cart, $customer_auth);
+
$cart['notes'] = !empty($_REQUEST['customer_notes']) ? $_REQUEST['customer_notes'] : '';
$cart['payment_info'] = !empty($_REQUEST['payment_info']) ? $_REQUEST['payment_info'] : array();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment