I'm attempting to have a form where user's can pay more than one invoice at a time, ie, adding the amount of each invoice to process one payment for mulitple invoices. I don't see a way to add more than one invoice number using the PHP SDK.
Here's the line:
$order->setInvoiceNumber($invoice_numbers);
So what I attempted to do is concatenate the chosen invoices as one string using "|" as a separator and I get the following error:
The 'AnetApi/xml/v1/schema/AnetApiSchema.xsd:invoiceNumber' element is invalid - The value '03877413|042000012924458' is invalid according to its datatype 'String' - The actual length is greater than the MaxLength value.
The doc online doesn't specify a max length so is there another way I can acheive this?
12-16-2015 10:08 AM
12-16-2015 11:02 AM