Payment functions
Introduction
A subset of card commands is always with the prefix “ card”. Commands have their own error list, where the error is returned directly with the result of card operation processing:
Result ok:
Processing error (return data always starts with “>” at the beginning of the line, for indication of return data). In the event of a processing error in payment operation, the error is denoted as:
where 04 represents a command processing error. The error list for card operations is listed with each command.
In the case of card printing operations are these commands carried out as commands PegasFM and PegasFM error is returned:
Payment amount
!WARNING! The payment amount is always entered into commands in the format:
i.e. the payment amount must be entered with exactly two decimal places.
Error codes for cardPrint commands
For print commands (cardPrintMerchantParagon, cardPrintCustomerParagon, cardPrint…) in case of an error, an error FM is returned (the receipt is printed as an internal document).
Processing process
Recommendation
It is recommended to use commands from the group transaction payment operations, where the integrator has full control over the management and printing of receipts. The basic payment operations group is suitable for cases, where the device functions as a payment terminal and operations and payments are invoked from UI device (i.e. the device is not controlled from multiple applications).