I am calling createCustomerProfileRequest and then createCustomerProfileTransactionRequest... This integration has been on production for a few years. We now have a client that is viewing Transaction Receipts while logged in to Authorize.Net and wants some additional fields populated that are showing as blank on this receipt.
The "Order Information" section of the receipt shows the following:
> Description, Order Number, PO Number, Invoice number, and *Customer ID"
How do I populate the "Customer ID"? Is it the customerProfileBaseType.merchantCustomerId?
Yes that's correct it's the merchantCustomerId.
If you have any opportunity to move away from createCustomerProfileTransactionRequest I would strongly suggest using the standard createTransaction https://developer.authorize.net/api/reference/index.html#payment-transactions-charge-a-customer-prof... as that provides a much more consistent integration and also is much easier to interpret the result.
Hope this helps,