PaymentAPI::MakePaymentMethod (open)
Create a value that can be stored in a PAYMENT value to store the method used to pay, but without actually setting up the PSP
Syntax
LOADLIB "mod::wrd/lib/payments.whlib";
RECORD FUNCTION MakePaymentMethod(RECORD paymentdata)Parameters
RECORD paymentdataPayment data
BOOLEAN isexternalIgnored
STRING issuerIssuer
STRING paymentmethodtagPayment method tag (if set, don't set paymentprovider or paymentoptiontag)
STRING paymentoptiontagTag of the payment option
paymentproviderId or GUID of the payment provider
Return value
RECORDPayment method record