PaymentMethodField::SetupPaymentOptions (open)
Explicitly set payment options
Syntax
LOADLIB "mod::wrd/lib/webtools/paymentmethod.whlib";
MACRO SetupPaymentOptions(OBJECT paymentapi, RECORD ARRAY paymentoptions)
Parameters
OBJECT paymentapi
Payment API to use
RECORD ARRAY paymentoptions
Payment options, in the format returned by PaymentAPI::ListAllPaymentOptions
Description
Explicit option configuration. If used, we recommend explicitly setting wrdschema="" on the paymentmethod to prevent duplicate initialization