PaymentAPI::ListAllPaymentOptions (open)
List paymnet options
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD ARRAY FUNCTION ListAllPaymentOptions(RECORD options)
Parameters
RECORD options
Options
BOOLEAN externalonly
If TRUE, return only payment providers of type 'wrd:external'
RECORD extrafields
Extra fields to return
STRING types
Requested types. Default 'payment', alternatively 'mandate'
STRING withhistoric
if TRUE, also return deleted payment providers
Return value
RECORD ARRAY
List of payment options
RECORD extra
Extra selected fields
STRING htmlagreeterms
If set, HTML of an agreement option that must be offered to use this payment method (terms and conditions)
BOOLEAN islive
Whether this option connects to a live platform
RECORD ARRAY issuers
List of issuers
STRING issuers.rowkey
key to use for 'issuer' when prepareing the payment
STRING issuers.title
title for this issuer (eg ABN Amro bank)
STRING paymentmethodtag
Tag of the payment method option
STRING paymentoptiontag
key to use when selecting this payment method
INTEGER paymentprovider
Id of the payment provider
STRING paymentproviderguid
GUID of the payment provider
STRING requirements
List of specific requirements when calling this method (wrd_gender, wrd_dateofbirth)
STRING title
payment method title (eg iDEAL)