Integration and Testing

Authorize.Net API questions and help with your payment integration.

Posts: 1
Registered: ‎03-29-2018

Populate "Customer Id" with createCustomerProfileTransactionRequest

[ Edited ]

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?

Posts: 149
Registered: ‎03-28-2014

Re: Populate "Customer Id" with createCustomerProfileTransactionRequest

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 as that provides a much more consistent integration and also is much easier to interpret the result.


Hope this helps,