The abstract MPay24flexLINK class provides abstract functions, which are used from the other functions in order to create a flexLINK
author | mPAY24 GmbH <support@mpay24.com> |
---|---|
version | $Id: MPay24Shop.php 5522 2013-06-24 13:08:35Z anna $ |
filesource | MPay24Shop.php |
license | http://ec.europa.eu/idabc/eupl.html EUPL, Version 1.1 |
MPay24flexLINK(string $spid, string $password, bool $test, bool $debug = false)
string
SPID, supported by mPAY24
string
The flexLINK password, supported by mPAY24
bool
TRUE - when you want to use the TEST system FALSE - when you want to use the LIVE system
bool
TRUE - when you want to write log files
getEncryptedParams(string $invoice_id, string $amount, string $currency = NULL, string $language = NULL, string $user_field = NULL, string $description = NULL, string $mode = NULL, string $name = NULL, string $street = NULL, string $street2 = NULL, string $zip = NULL, string $city = NULL, string $country = NULL, string $email = NULL, string $success = NULL, string $error = NULL, string $confirmation = NULL, string $invoice_idVar = "IID", string $amountVar = "AMO", string $currencyVar = "CUR", string $languageVar = "LAN", string $user_fieldVar = "USR", string $descriptionVar = "DES", string $modeVar = "MOD", string $nameVar = "NAM", string $streetVar = "ST1", string $street2Var = "ST2", string $zipVar = "ZIP", string $cityVar = "CIT", string $countryVar = "COU", string $emailVar = "EML", string $successVar = "SUC", string $errorVar = "ERR", string $confirmationVar = "CON")
string
The invoice ID of the transaction
string
The amount which should be invoiced in 12.34
string
length = 3 (ISO currency code, e. g. "EUR")
string
length = 2 (ISO currency code, e. g. "DE")
string
A place hollder for free chosen user information
string
Description of the product, the invoice is for
string
BillingAddress Mode (ReadWrite or ReadOnly)
string
Name of the customer
string
Billing address street
string
Billing address street2
string
Billing address zip
string
Billing address city
string
Billing address country, length = 2 (ISO country code, e. g. "AT")
string
Billing address e-mail
string
Success-URL
string
Error-URL
string
Confirmation-URL
string
Default = IID
string
Default = AMO
string
Default = CUR
string
Default = LAN
string
Default = USR
string
Default = DES
string
Default = MOD
string
Default = NAM
string
Default = ST1
string
Default = ST2
string
Default = ZIP
string
Default = CIT
string
Default = COU
string
Default = EML
string
Default = SUC
string
Default = ERR
string
Default = CON
getPayLink(string $encryptedParams)
string
The encrypted parameters, returned by the function getEncryptedParams
write_flexLINK_log(string $info_to_log)
string
The information, which is to log: request, response, etc.
mPay24Api