-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I'm using the master branch. And this bug
Bug
avalara_finalize
method updates the amount of payment to be the order total. This is not a valid update, if the order contains multiple payments (store credit plus credit card too).
def avalara_finalize
return unless avalara_tax_enabled?
if self.amount != order.total
self.update_attributes(amount: order.total)
end
order.avalara_capture_finalize
end
Why is this update necessary after the capture?
Metadata
Metadata
Assignees
Labels
No labels