PaymentAPI::ExplainPayment (open)
Explain a payment status
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD FUNCTION ExplainPayment(RECORD paymentdata)
Parameters
RECORD paymentdata
The payment to explain (the value of an attribute of type PAYMENT)
Return value
RECORD
Payment information
MONEY amountpayable
The total amount that had to be paid
STRING cardissuer
Card issuer (bank or network)
STRING cardnumber
Card or account number
STRING htmlstatusforuser
Rich additional description as passed by the payment provider
DATETIME paymentdate
STRING paymentmethodtag
STRING paymentmethodtitle
Title for the selected payment method
STRING paymentref
STRING status
Current status (approved, pending, failed)