cancel
Showing results for 
Search instead for 
Did you mean: 

How to add in Billing Address and Other Required Info in DPM

I'm reading through the Authorize.net documentation and I can't find any sample code that shows how to include the Billing Address / Shipping Address in the transaction.

 

Where can I find that sample code?

 

I'm programming in PHP

JordashTalon
Member
1 REPLY 1

Are you just using the Quick Start code or did you set up your own form? If the latter, you would just include additional form fields, either visible or hidden, named according to the API Fields list at the end of the documentation PDF:

http://www.authorize.net/support/DirectPost_guide.pdf

 

If the former, I suggest reverse-engineering the getCreditCardForm() function in the AuthorizeNetDPM.php file in the lib folder of your SDK. Add fields as necessary from the pdf (see above).

TJPride
Expert