PHP Classes

File: sdk/doc/DPM.markdown

Recommend this page to a friend!
  Classes of Samuel Adeshina   PHP Authorize.net SIM   sdk/doc/DPM.markdown   Download  
File: sdk/doc/DPM.markdown
Role: Auxiliary data
Content type: text/markdown
Description: First Commit
Class: PHP Authorize.net SIM
Generate payment forms for Authorize.net SIM API
Author: By
Last change:
Date: 9 years ago
Size: 801 bytes
 

Contents

Class file image Download

Direct Post Method

Basic Overview

The Authorize.Net PHP SDK includes a class that demonstrates one way of implementing the Direct Post Method.

While it is not necessary to use the AuthorizeNetDPM class to implement DPM, it may serve as a handy reference.

The AuthorizeNetDPM class extends the AuthorizeNetSIM_Form class. See the SIM.markdown for additional documentation.

Relay Response Snippet

The AuthorizeNetDPM class contains a getRelayResponseSnippet($redirect_url) which generates a snippet of HTML that will redirect a user back to your site after submitting a checkout form using DPM/SIM.

Use this method(or just grab the html) if you want to create a checkout experience where the user only interacts with pages on your site.