Details
Description
See http://www.blesta.com/forums/index.php?/topic/5290-bitpay-multi-invoices-issue/
It may be that attempting to pay multiple invoices. When serialized with their amounts and passed to the gateway, the max length is 100 characters. However, it may fail with fewer characters. We will need to test.
We may need to update the gateway to limit the length of that field, and simply ignore paying specific invoices that exceed the length. Alternatively, we could display an error that too many invoices are being paid at once, and to select fewer invoices to pay before continuing.
1. Well an error can be displayed, but it might not be useful info. A generic error could be given, or maybe an error from BitPay about the posData field, but neither tell the customer that they are trying to pay too many invoices.
2. This could be done. It is a bit strange to choose invoices, and get credit instead of paying for them. But it could be done.