Function for parsing incoming variables from the payment gateway
array
stormpay
([array $stormpay_post_vars = array()])
-
array
$stormpay_post_vars: posted stormpay keys and values
Function for sending any error emails from the process to the administrator.
nothing
error_out
(string $text)
-
string
$text: error message text
Function for storing the processed payment status for later retrevial.
string
get_payment_status
()
Function for storing the processed payment transaction amount for later retrevial.
string
get_transaction_amount
()
Function for storing the processed payment transaction id for later retrevial.
string
get_transaction_id
()
Function for determining (internally) if the processed transaction has been verified (true or false)
bool
is_verified
()
Function for printing the payment processor custom generated form via POST method.
string
print_direct_payment_form
([string $amount = 0], [string $description = ''], [string $merchantid = ''], [string $currency = ''], [string $customencrypted = ''], [string $returnurl = ''])
-
string
$amount: amount to process
-
string
$description: transaction description
-
string
$merchantid: sellers payment email
-
string
$currency: master currency
-
string
$customencrypted: custom generated payment repsonse arguments to be decrypted by ilance payment processor
-
string
$returnurl: return url
Function for printing the payment processor custom generated form via POST method.
string
print_payment_form
([integer $userid = 0], [string $payer_email = ''], [string $amount = 0], [integer $invoiceid = 0], [integer $subscriptionid = 0], [string $description = ''], [string $merchantid = ''], [string $currency = ''], [string $passphrase = ''], [string $customencrypted = ''], [bool $testmode = 0])
-
integer
$userid: user id
-
string
$payer_email: payer email address
-
string
$amount: amount to process
-
integer
$invoiceid: associated invoice id
-
integer
$subscriptionid: associated subscription id
-
string
$description: transaction description
-
string
$merchantid: merchant id
-
string
$currency: master currency
-
string
$passphrase: pass phrase used in some processors (usually stored with processor also)
-
string
$customencrypted: custom generated payment repsonse arguments to be decrypted by ilance payment processor
-
bool
$testmode: defines if this payment form should return a test - mode parameter (if available)
Function for printing the recurring payment processor custom generated form via POST method.
string
print_recurring_payment_form
([string $payer_email = ''], [string $amount = 0], [string $units = ''], [integer $length = 0], [string $title = ''], [string $description = ''], [string $currency = ''], [ $customencrypted = ''], [ $onsubmit = ''])
-
string
$payer_email: payer email address
-
string
$amount: amount to process
-
string
$units: unit
-
integer
$length: length
-
string
$title: transaction description
-
string
$description: gateway currency to use
-
string
$currency: custom generated payment repsonse arguments to be decrypted by ilance payment processor
-
$customencrypted
-
$onsubmit