Reply
Member
Posts: 5
Registered: ‎03-30-2017

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?
Posts: 138
Topics: 0
Kudos: 27
Blog Posts: 0
Ideas: 0
Solutions: 9
Registered: ‎04-28-2017

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

[ Edited ]

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
Contributor
Posts: 10
Registered: ‎04-25-2017

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

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

Administrator
Posts: 419
Registered: ‎11-03-2016

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

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.

-Aaron

Aaron Wright
Developer Advocate - Authorize.Net

Follow Authorize.Net developer news on Twitter!
Contributor
Posts: 10
Registered: ‎04-25-2017

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

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

Highlighted
Administrator
Posts: 419
Registered: ‎11-03-2016

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

That's all in the Accept.js documentation.

-Aaron

Aaron Wright
Developer Advocate - Authorize.Net

Follow Authorize.Net developer news on Twitter!