Function for parsing incoming variables from the payment gateway
array
paypal
([array $paypal_post_vars = array()])
-
array
$paypal_post_vars: posted paypal 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 type for later retrevial.
string
get_payment_type
()
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 storing the processed payment transaction type for later retrevial.
string
get_transaction_type
()
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 $subscriptionid = 0], [string $amount = 0], [integer $units = ''], [string $length = 0], [string $title = ''], [string $description = ''], [string $currency = ''], [integer $customencrypted = ''], [ $onsubmit = ''], [ $ismodify = 0])
-
string
$payer_email: payer email address
-
string
$subscriptionid: amount to process
-
string
$amount: unit
-
integer
$units: length
-
string
$length: transaction description
-
string
$title: gateway currency to use
-
string
$description: custom generated payment repsonse arguments to be decrypted by ilance payment processor
-
string
$currency: js onsubmit form code
-
integer
$customencrypted: ismodify subscription modify update for paypal
-
$onsubmit
-
$ismodify
Function for sending a repsonse to the payment gateway for verification of payment authentication and status.
nothing
send_response
()