PaymentAPI::ListPaymentOptions (open)
Lists the payment options for a specific payment provider
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD ARRAY FUNCTION ListPaymentOptions(INTEGER paymentprovider, RECORD options)Parameters
INTEGER paymentproviderId of the payment provider
RECORD optionsReturn value
RECORD ARRAYList of payment options
STRING htmlagreetermsIf set, HTML of an agreement option that must be offered to use this payment method (terms and conditions)
BOOLEAN isliveWhether this option connects to a live platform
RECORD ARRAY issuersList of issuers
STRING issuers.rowkeykey to use for 'issuer' when prepareing the payment
STRING issuers.titletitle for this issuer (eg ABN Amro bank)
STRING paymentoptiontagkey to use when selecting this payment method
STRING requirementsList of specific requirements when calling this method (wrd_gender, wrd_dateofbirth)
STRING titlepayment method title (eg iDEAL)