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)
stringSPID, supported by mPAY24
stringThe flexLINK password, supported by mPAY24
boolTRUE - when you want to use the TEST system FALSE - when you want to use the LIVE system
boolTRUE - 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")
stringThe invoice ID of the transaction
stringThe amount which should be invoiced in 12.34
stringlength = 3 (ISO currency code, e. g. "EUR")
stringlength = 2 (ISO currency code, e. g. "DE")
stringA place hollder for free chosen user information
stringDescription of the product, the invoice is for
stringBillingAddress Mode (ReadWrite or ReadOnly)
stringName of the customer
stringBilling address street
stringBilling address street2
stringBilling address zip
stringBilling address city
stringBilling address country, length = 2 (ISO country code, e. g. "AT")
stringBilling address e-mail
stringSuccess-URL
stringError-URL
stringConfirmation-URL
stringDefault = IID
stringDefault = AMO
stringDefault = CUR
stringDefault = LAN
stringDefault = USR
stringDefault = DES
stringDefault = MOD
stringDefault = NAM
stringDefault = ST1
stringDefault = ST2
stringDefault = ZIP
stringDefault = CIT
stringDefault = COU
stringDefault = EML
stringDefault = SUC
stringDefault = ERR
stringDefault = CON
getPayLink(string $encryptedParams)
stringThe encrypted parameters, returned by the function getEncryptedParams
write_flexLINK_log(string $info_to_log)
stringThe information, which is to log: request, response, etc.
mPay24Api