-
$_account
-
The PayPal account to use (this is an E-Mail address).
-
$_additional_options
-
Additional options to pass to PayPal, see class introduction for details.
-
$_amount
-
The amount that is being invoiced.
-
$_amount_string
-
String representation of the amount used in interaction with the Nordea servers.
-
$_authentication_seed
-
The seed used to secure the MD5 sum of the payment reference and amount.
-
$_backend
-
The PayPal Backend to use, this is either 'live', 'sandbox' or a full URL.
-
$_cancel_url
-
Return address if payment was cancelled.
-
$_currency
-
The currency to use.
-
$_currency
-
Currency code, Nordea currently only supports EUR.
-
$_date
-
Payment due date.
-
$_handler_config
-
The handler configuration array.
-
$_key_version
-
Key version (I suspect that this relates to the MAC).
-
$_language
-
Payment interface language (1 = Finnish, 2 = Swedish, 3 = English).
-
$_local_cert
-
The path to the X.509 certificate used to sign the requests to PayPal.
-
$_local_cert_id
-
The Certificate ID assigend by PayPal when uploading the certificate.
-
$_local_key
-
The path to the X.509 private key used to sign the requests to PayPal.
-
$_local_key_password
-
Contains the password required to access the local key, if set.
-
$_mac
-
The Message authentication code, computed as outlined in Chapter 3.3 of the Nordea specs. This is an MD5 sum.
-
$_message
-
An arbitary message to the user, shown during payment processing (if supported by the payment handler).
-
$_ok_url
-
Return address following successful payment.
-
$_payment_confirmation
-
Payment confirmation (YES adds additional, required information to the response).
-
$_payment_reference
-
Payment reference number, constructed out of the reference id by adding the check digit.
-
$_payment_reference_suffix
-
Payment reference number suffix, used to distinguish different installations from each other.
-
$_paypal_cert
-
The path to the X.509 certificate to use to encrypt the requests to PayPal. This must be a valid certificate parameter for the openssl PHP module.
-
$_pdt_id_token
-
The PayPal identity token required for PDT access.
-
$_rcv_account
-
Receiver Account, if different from the default.
-
$_rcv_name
-
Service Provider Name, if different from the default.
-
$_reference
-
The payment reference accociated with this record. The exact allowed characters for this field varies with the actual handler, refer to their class documentations for details.
-
$_rejected_url
-
Return address if payment was rejected.
-
$_request_args
-
This variable holds the arguments that should go into the request. It is build during the payment rendering and is rendered encrypted if possible.
-
$_request_url
-
The request URL derived from the "backend" variable. This is always a full URL.
-
$_response_payment_code
-
The payment code as returned by the bank's system.
-
$_return_url
-
The URL to return to after processing the payment. This must be a fully qualified URL which calls the process_payment handler function.
-
$_stamp
-
The stamp identifying the request. This is an unique number which is used to prevent double processing on the server side. It is built using the current timestamp and the order ID.
-
$_version
-
Payment interface version.
-
_calculate_mac
-
Calculates the message authentication code for the current request data.
-
_calculate_reference
-
Calculates the payment reference number by adding the check digit as described in Chapter 3.2, Field number 8 in the Payment specification.
-
_calculate_stamp
-
Calculates the stamp for this payment, which has to be unique.
-
_check_mac
-
Calculates the message authentication code from the return information and triggers an error, if it does not match the one supplied in the response (as stored in $_mac).
-
_detect_language
-
Sync the Remote UI language with the language set by MidCOM.
-
_execute_pdt_request
-
Executes an PDT request to the server determined by the _get_pdt_server helper.
-
_generate_return_urls
-
This helper generates the three (ok, cancel, reject) return urls for the current payment request. They are generated using the supplied return URL and pass a parameter by HTTP GET so that the result can be processed accordingly.
-
_get_message_digest
-
This function computes the MD5 hash which secures the payment reference and the amount.
-
_get_pdt_server
-
Determines the server name to send PDT requests to.
-
_mask_text_strings
-
This helper masks text strings (currently only the user message is affected) so that it does not interfere with the surrounding HTML.
-
_on_process_payment
-
Process the payment and populate the payment status variables.
-
_on_process_payment
-
Process the payment and populate the payment status variables.
-
_on_process_payment
-
Process the payment and populate the payment status variables.
-
_on_process_payment
-
Processes the payment. Incomplete request arrays always result in a critical error, aborting execution.
-
_on_render_payment_link
-
Renders the payment link, this is a simple href to the return URL.
-
_on_render_payment_link
-
Renders the payment link.
-
_on_render_payment_link
-
Render the payment link for the current configuration.
-
_on_render_payment_link
-
Renders the payment link, preparation in thie order:
-
_prepare_request_args
-
Prepares the request_args array to add the actual data. The array is initialized with the additional options field (thus any restricted option will be overwritten later) and is completed with the actual payment information.
-
_prepare_request_url
-
Determines the actual URL to send the request to.
-
_print
-
This helper prints the actual form to stdout.
-
_process_cancel
-
The payment has been cancelled by the user.
-
_process_ok
-
The payment has been successful.
-
_process_ok
-
Verifies the response by using PayPals Payment Data Transfer (PDT) service.
-
_process_reject
-
The payment has been rejected by the bank.
-
_read_response
-
Reads all applicable information from the HTTP Request into the class. The message digest is not yet checked the PDT data is required to do that.
-
_read_response
-
Reads and verifies the response received from the Nordea server.
-
_render_encrypted
-
Renders an encrypted request for paypal. Called if the corresponding certificates are set.
-
_render_plain
-
Renders a plain unencrypted form for payment.
-
_validate_against_pdt
-
This function validates the current response data using the PDT service of PayPal.
-
nordea.php
-
-
NET_NEMEIN_PAYMENT_CANCELLED
-
Payment return code set when the user cancelled the payment.
-
NET_NEMEIN_PAYMENT_ERROR
-
Payment return code set when an internal, unrecoverable error was detected.
-
net_nemein_payment_factory
-
Payment handler factory class.
-
net_nemein_payment_factory
-
Constructor, initialize base class.
-
net_nemein_payment_handler
-
Initializes the class, populates the config member variable.
-
net_nemein_payment_handler
-
Payment handler base class.
-
net_nemein_payment_handler_invoice
-
Constructor, relays to base class.
-
net_nemein_payment_handler_invoice
-
Simple payment handler used for having an "Pay by Invoice" alternative available.
-
net_nemein_payment_handler_nordea
-
Constructor, relays to base class.
-
net_nemein_payment_handler_nordea
-
Nordea E-payment service payment handler
-
net_nemein_payment_handler_paypal
-
Constructor, relays to base class.
-
net_nemein_payment_handler_paypal
-
PayPal Frontend for FORM based payments (does not use Web Services).
-
net_nemein_payment_interface
-
-
net_nemein_payment_interface
-
Payment library MidCOM interface class.
-
NET_NEMEIN_PAYMENT_OK
-
Payment return code for a successful Payment.
-
NET_NEMEIN_PAYMENT_OK_BUT_PENDING
-
Payment return code for an accepted Payment which has not been executed yet.
-
NET_NEMEIN_PAYMENT_REJECTED
-
Payment return code for a Payment which has been rejected by the E-Banking service provider.