diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 5fc3cbd02..7f0a029ff 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -30,6 +30,7 @@ - fixed: Payment Gateway creation bug - fixed: thingy and select box - fixed: viewing badges in IE 6/7 + - fixed: Shop/Transaction was not updating shopCreditDeduction column. Added that to the update and now users correctly have purchases deducted from their instore credit. 7.5.18 - fixed: Collateral Image Manager broken in Firefox 3 diff --git a/lib/WebGUI/Shop/Transaction.pm b/lib/WebGUI/Shop/Transaction.pm index 92ce17b56..066538fc6 100644 --- a/lib/WebGUI/Shop/Transaction.pm +++ b/lib/WebGUI/Shop/Transaction.pm @@ -636,7 +636,7 @@ sub update { shippingCountry shippingCode shippingPhoneNumber shippingDriverId shippingDriverLabel notes shippingPrice paymentAddressId paymentAddressName originatingTransactionId isRecurring paymentAddress1 paymentAddress2 paymentAddress3 paymentCity paymentState paymentCountry paymentCode - paymentPhoneNumber paymentDriverId paymentDriverLabel taxes )); + paymentPhoneNumber paymentDriverId paymentDriverLabel taxes shopCreditDeduction)); foreach my $field (@fields) { $properties{$id}{$field} = (exists $newProperties->{$field}) ? $newProperties->{$field} : $properties{$id}{$field}; }