PaymentAPI::ExplainPayment (open)
Explain a payment status
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD FUNCTION ExplainPayment(RECORD paymentdata)Parameters
RECORD paymentdataThe payment to explain (the value of an attribute of type PAYMENT)
Return value
RECORDPayment information
MONEY amountpayableThe total amount that had to be paid
STRING cardissuerCard issuer (bank or network)
STRING cardnumberCard or account number
STRING htmlstatusforuserRich additional description as passed by the payment provider
DATETIME paymentdateSTRING paymentmethodtagSTRING paymentmethodtitleTitle for the selected payment method
STRING paymentrefSTRING statusCurrent status (approved, pending, failed)