Administrators can add payment options to Community Hub so constituents can check out using different forms of payment.
-
From Setup, enter
Custom Metadata Typesin theQuick Findbox, then select Custom Metadata Types. -
Click Manage Records next to Payment Option.
-
Click New.
-
In
Label, enter the plain English name of the page. Example:Credit Card. -
In
Payment Option Name, enter enter the same value entered inLabel, but in Pascal Case. Example:CreditCard. -
In
Constructor Type, enter the name of an Apex class which implements IPaymentOptionConstructor to construct PaymentOption.IOptions. This can be created through development effort. -
If you want to specify where in the list of payment options this one will display, in
Display Order, enter a number to signify where the payment option should be displayed in Community Hub. The lower the number, the higher the payment option displays in the list.The number should be 0 - 999.
Consider spacing out your numbers to accommodate future payment options.
Avoid:
Payment Option 1:
1, Payment Option 2:2, Payment Option 3:3Better:
Payment Option 1:
1, Payment Option 2: 3, Payment Option 3: 5
-
Click Save.