Hello
how to send customer details to "Transaction detail" after payment is done?
When I navigate to
https://sandbox.authorize.net -> Reports -> Transaction Details -> TransactionID
I see last 4 digits of credit card, paid amount etc. and under "Customer Billing Information" is nothing to see.. all fields like Name etc. are empty.
How to send some details about customer?
I'm using such code:
cardData.cardNumber = document.getElementById('CARDNUMBER_ID').value;
cardData.month = document.getElementById('EXPIRY_MONTH_ID').value;
cardData.year = document.getElementById('EXPIRY_YEAR_ID').value;
cardData.zip = document.getElementById('ZIP_ID').value;
cardData.fullName = document.getElementById('FULLNAME_ID').value;
secureData.cardData = cardData;
but fullName and zip are not visible on the Transaction Details. If possible, I would like also to send Address.
Thank you.
09-06-2016 01:49 PM
Anybody, please?
09-07-2016 05:10 AM
I received answer (from support):
The details must be included in the createTransactionRequest.
Question is - how to do that? Is there any doc's about that?
I'm using this TransactionRequest:
$transRequestXmlStr=<<<XML <?xml version="1.0" encoding="UTF-8"?> <createTransactionRequest xmlns="AnetApi/xml/v1/schema/AnetApiSchema.xsd"> <merchantAuthentication></merchantAuthentication> <transactionRequest> <transactionType>authCaptureTransaction</transactionType> <amount>assignAMOUNT</amount> <currencyCode>USD</currencyCode> <payment> <opaqueData> <dataDescriptor>assignDD</dataDescriptor> <dataValue>assignDV</dataValue> </opaqueData> </payment> <retail> <marketType>0</marketType> <deviceType>0</deviceType> </retail> </transactionRequest> </createTransactionRequest> XML;
How to add customer info, like First and Last name, email etc.
Thank you.
09-07-2016 11:59 PM
Hello @zamiksica123
You should find those details here: https://developer.authorize.net/api/reference/#mobile-inapp-transactions-create-an-accept-transactio...
Richard
09-08-2016 06:28 AM
Thank you, but could you please be so kind and insert customer details inside above XML because I do not understand where I need to put them.
Thank you.
09-08-2016 06:57 AM
Hello @zamiksica123
If you spend a few minutes reading the documentation or the XML structure, you will see where to place the information. For example:
customer | The following fields contain customer information. | |
type |
individual or business.
|
|
id | Merchant assigned customer ID. Unique identifier to represent the customer associated with the transaction. Customer ID must be created dynamically on the merchant's server or provided for each transaction. The payment gateway does not perform this function. |
Up to 20 characters (no symbols).
|
The customer’s valid email address. Required only when using a European Payment Processor. Processing Platform. Email address to which the customer’s copy of the email receipt is sent when Email Receipts is configured in the Merchant Interface. The email is sent to the customer only if the email address format is valid. |
Up to 255 characters.
For example, janedoe@customer.com |
09-08-2016 07:09 AM
Yes I saw that but I don't understand where I need to put it - on which place inside XML?
Below Amount or below what?
What I need is customer first and last name, address, zip, country.
Could you please make small example because I can not move on.
Thank you.
09-08-2016 09:35 AM
Finally we solved it by adding <billTo> but I find your doc's very funny.
You are not some "xyz" company and you need to write better instructions.
You can take a look here what is good doc's:
http://www.jeasyui.com/documentation/index.php
P.S. this whole framework and doc's is handled by 2 people.
09-08-2016 11:04 AM