23-06-2012, 01:42 PM
Direct Post Method (DPM) Developer Guide
DirectPost_guide.pdf (Size: 307.27 KB / Downloads: 40)
Integrating with Java
The example Java integration of the Direct Post Method implementation described in this
Section uses three code snippets:
• checkout_form.jsp,
• relay_response.jsp, and
• order_receipt.jsp
These snippets perform the sequence of functions described in Section 1, “Conceptual
Overview”.
1 Obtain an API Login ID and Transaction Key.
These keys authenticate requests to the payment gateway. To obtain them, sign up for
a test account.
2 Install the Authorize.Net Java SDK.
This gives you access to the full suite of APIs.
3 Download the Java SDK from the Developer Center:
Integrating with Ruby
The example Ruby integration of the Direct Post Method implementation described in this
Section uses three code snippets:
• payment.erb,
• payments_controller.rb, and
• receipt.erb
These snippets perform the sequence of functions described in Section 1, “Conceptual
Overview”.
DPM Form and Merchant-Defined Data Fields
This appendix describes common DPM form fields and also provides guidance regarding
restrictions on Merchant-Defined Data Fields.
The following table describes common DPM form fields: