diff --git a/include/library/Crunchbutton/Order.php b/include/library/Crunchbutton/Order.php index 2846c1720..4860c5d6b 100644 --- a/include/library/Crunchbutton/Order.php +++ b/include/library/Crunchbutton/Order.php @@ -587,11 +587,13 @@ class Crunchbutton_Order extends Crunchbutton_Order_Trackchange { $giftCardAdded = true; } } - $this->notes = $giftcards[ 'notes' ]; + $_order = Order::o( $this->id_order ); + $_order->notes = $giftcards[ 'notes' ]; + $_order->save(); + $this->notes = $_order->notes; } } - Log::debug([ 'issue' => '#1551', 'method' => 'process', '$this->final_price' => $this->final_price, 'giftcardValue'=> $this->giftcardValue, '$this->notes' => $this->notes ]); $this->debitFromUserCredit( $user->id_user ); if ( $params['make_default'] == 'true' ) {