Documentation

PayrexxProcessor
in package

Payrexx Payment Processor

Tags
copyright

CLOUDREXX CMS - CLOUDREXX AG

author

Ueli Kramer ueli.kramer@comvation.com

author

Thomas Däppen thomas.daeppen@cloudrexx.com

version
1.0.0
subpackage

module_shop

Table of Contents

Properties

$arrError  : array<string|int, mixed>
Error messages

Methods

checkIn()  : bool|null
Verify the response from Payrexx
getModalCode()  : string|bool
getOrderId()  : int
Return the Order ID from the request, if present

Properties

$arrError

Error messages

public static array<string|int, mixed> $arrError = array()
Tags
access

public

Methods

checkIn()

Verify the response from Payrexx

public static checkIn() : bool|null

Fails if the payment ID or status is missing. Creates a new Gateway and requests the Invoice status for the payment. Fails if the status doesn't match the original response. Returns null for any transaction status other than 'confirmed', in order to indicate that the Order status must not be changed. The Order status should be left 'pending' in that case, so that the Order can still be completed, if the payment is repeated and succeeds at a later time.

Note: Known Payrexx payment status at the time of writing are: waiting Payment requested, waiting for result confirmed Payment complete; successful cancelled Payment aborted by customer; failed declined Payment declined; failed error Technical error; failed authorized Payment authorized refunded / partially-refunded Payment (partially) refunded refund_pending Refund has been initialized, not confirmed yet chargeback Chargeback request by card holder uncaptured (Not documented; only with PSP Clearhaus Acquiring)

Return values
bool|null

True on success, false on error, or null

getOrderId()

Return the Order ID from the request, if present

public static getOrderId() : int
Return values
int

The order id, or false


        
On this page

Search results