cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass Billing information using accept.js with Authorize.net

Hi,

We having integration with Authorize.net and we are implementing Accept.js to support credit card payments. The only issue is, it seems like in the API reference (http://developer.authorize.net/api/reference/features/acceptjs.html) there is no fields/method to take Customer's Billing Information and pass it to Authorize.net so the same will be available in transaction details.

Can any one help us i.e how to use Accept.js with asking Customer Billing Information as well?
tarunjain43
Member
1 ACCEPTED SOLUTION

Accepted Solutions

You can pass all of the same fields with an Accept nonce/token that you can with a credit card. When sending an Accept nonce/token, you can use any of the fields specified in our API Reference: Create an Accept Payment Transaction.

 

With Accept Hosted, you can also store the address as long as you have the address fields set to display in the form. If they fields are set to display, you can prepopulate them in your token request. If the fields are not set to display, any address information sent in the token request is discarded.

View solution in original post

6 REPLIES 6

Hello,

 

Using Accept.js enables you to retrieve a payment nonce to use in place of credit card payment data when making API calls. After obtaining the payment nonce, you can use it in place of the credit card data with the XML below:

<payment>
<opaqueData> <dataDescriptor>COMMON.ACCEPT.INAPP.PAYMENT</dataDescriptor> <dataValue>PAYMENT_NONCE</dataValue > </opaqueData> </payment>
Powered by NexWebSites.com -
Certified Authorize.net developers
NexusSoftware
Trusted Contributor

Hi,

 

So we were hoping that we could find a way to save the billing information into Authorize.net. Is that no longer needed with Accept.js or Accept Hosted?

 

Thanks and Best Regards,
Josh

You can pass all of the same fields with an Accept nonce/token that you can with a credit card. When sending an Accept nonce/token, you can use any of the fields specified in our API Reference: Create an Accept Payment Transaction.

 

With Accept Hosted, you can also store the address as long as you have the address fields set to display in the form. If they fields are set to display, you can prepopulate them in your token request. If the fields are not set to display, any address information sent in the token request is discarded.

Thanks Aaron, this is really helpful. Is there any documentation on the error messages that the Accept.js to get the nonce could return? 

That's all in the Accept.js documentation.

Where would this XML Request be posted? Can someone send me a sample..I'm using asp.net and vb.net....novice.

 

Thanks