Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Trunk
-
None
Description
I have just realized that the behavior for orders with billing account (store credit) and a credit card is not entirely correct. When you create the order, the credit card is authorized for the full amount of the order, without considering how much is authorized to the billing account. When you capture, however, the behavior is correct: the billing account is used up, then the balance is charged to the credit card.
The net result is that credit cards are over-authorized by the amount of the billing account.
It seems that OrderPaymentPreference.maxAmount is not set for Credit Card payment methods. If this is set, then authOrderPaymentPreferences will use it to authorize the correct amount. This needs to be set somewhere during the storeOrder process.
Attachments
Issue Links
- relates to
-
OFBIZ-901 Fix/complete the billing account support
- Closed