AuthorizeNetDPM::getCreditCardForm
Generate a sample form for use in a demo Direct Post implementation.
Signature
public function getCreditCardForm(string
$amount,
string
$fp_sequence,
string
$relay_response_url,
string
$api_login_id,
string
$transaction_key,
[boolean
$test_mode = true,
[boolean
$prefill = true]] )
Parameters
$amount
—
string
- Amount of the transaction.
$fp_sequence
—
string
- Sequential number(ie. Invoice #)
$relay_response_url
—
string
- The Relay Response URL
$api_login_id
—
string
- Your API Login ID
$transaction_key
—
string
- Your API Tran Key.
$test_mode
—
boolean
- Use the sandbox?
$prefill
—
boolean
- Prefill sample values(for test purposes).
Returns
- string