Skip to main content
Skip table of contents

Create a Payment Option

Administrators can add payment options to Community Hub so constituents can check out using different forms of payment.

  1. From Setup, enter Custom Metadata Types in the Quick Find box, then select Custom Metadata Types.
  2. Click Manage Records next to Payment Option.
  3. Click New.
  4. In Label, enter the plain English name of the page. Example: Credit Card.
  5. In Payment Option Name, enter enter the same value entered in Label, but in Pascal Case. Example: CreditCard.
  6. In Constructor Type, enter the name of an Apex class which implements IPaymentOptionConstructor to construct PaymentOption.IOptions. This can be created through development effort.
  7. 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.


    Payment Option 1: 1, Payment Option 2: 2, Payment Option 3: 3


    Payment Option 1: 1, Payment Option 2: 3, Payment Option 3: 5

  8. Click Save.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.