MPay24flexLINK

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

Methods

Encrypt the parameters you want to post to mPAY24 - see details

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") 
inherited

Arguments

$invoice_id

string

The invoice ID of the transaction

$amount

string

The amount which should be invoiced in 12.34

$currency

string

length = 3 (ISO currency code, e. g. "EUR")

$language

string

length = 2 (ISO currency code, e. g. "DE")

$user_field

string

A place hollder for free chosen user information

$description

string

Description of the product, the invoice is for

$mode

string

BillingAddress Mode (ReadWrite or ReadOnly)

$name

string

Name of the customer

$street

string

Billing address street

$street2

string

Billing address street2

$zip

string

Billing address zip

$city

string

Billing address city

$country

string

Billing address country, length = 2 (ISO country code, e. g. "AT")

$email

string

Billing address e-mail

$success

string

Success-URL

$error

string

Error-URL

$confirmation

string

Confirmation-URL

$invoice_idVar

string

Default = IID

$amountVar

string

Default = AMO

$currencyVar

string

Default = CUR

$languageVar

string

Default = LAN

$user_fieldVar

string

Default = USR

$descriptionVar

string

Default = DES

$modeVar

string

Default = MOD

$nameVar

string

Default = NAM

$streetVar

string

Default = ST1

$street2Var

string

Default = ST2

$zipVar

string

Default = ZIP

$cityVar

string

Default = CIT

$countryVar

string

Default = COU

$emailVar

string

Default = EML

$successVar

string

Default = SUC

$errorVar

string

Default = ERR

$confirmationVar

string

Default = CON

Properties

The mPAY24API Object, you are going to work with

mPay24Api