function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
t4runjaint4runjain 

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?
 
Best Answer chosen by t4runjain
NagendraNagendra (Salesforce Developers) 
Hi Tarun,

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(http://developer.authorize.net/api/reference/#payment-transactions-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.

Hope this helps.

Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra

All Answers

NagendraNagendra (Salesforce Developers) 
Hi Tarun,

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(http://developer.authorize.net/api/reference/#payment-transactions-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.

Hope this helps.

Please mark this as solved if it's resolved so that it gets removed from the unanswered queue which results in helping others who are encountering a similar issue.

Thanks,
Nagendra
This was selected as the best answer
t4runjaint4runjain
Thanks @Nagendra, for your help, its clear now, I got my answer. Thank you again!