I think there is still a problem when, during order checkout, you select
a billing account (with a credit available that cannot completely cover
the order grand total) AND a cc (for the remaining amount) as payment
methods.
In fact, when the order is created, the full order amount is
*authorized* from the credit card.
When the order is invoiced, the correct amount is captured from the
credit card, and the correct amount is 'taken' from the billing account
(creating a PaymentApplication record with invoiceId and
billingAccountId set); however the same amount from the credit card
remains as authorized.
Any hints on how we could fix this?
Jacopo