I'm charging a customer profile, which works fine. I am trying to set the invoiceNumber but it's not showing up as invoice: in the receipt email. When I set it at the time of creating and charging a new customer profile it works fine.
Here is the code I am using in both:
this->order = new AnetAPI\OrderType();
$this->order->setInvoiceNumber($invoiceId);
I put logging in this method and am able to confirm that the invoiceId is getting there.
It's just not getting set or sent to Authorize.net
Your help would be appreciated.
- Don
11-22-2016 10:01 AM
Hi Don,
The code shown here looks correct if you are running a "createTransactionRequest".
Thanks,
Joy