A Lightning Web Component (LWC) is a Salesforce front-end component — the small piece of UI that renders on the pay or refund screen. A custom Payment Type usually points at either a fusionCore-supplied component or one you build.
Prerequisites
- You can create and edit
Payment_Type__crecords. This requires theFC_Commerce_Manage_Config_Datapermission set. It gives full create, read, update, and delete access on Payment Types. - The Business Unit you are configuring already exists.
- The GL Account (
GL_Account__c) you will use as the deposit account already exists for that same Business Unit.
Plan the Custom Payment Type
Before you create anything, decide:- What the custom payment method is and how staff or members will use it.
- How it interacts with existing objects such as Accounts, Orders, or your own custom objects.
- Which fields and data points you need to capture, and therefore which front-end component renders at pay and refund time.
Add the New Payment Method Picklist Value
Skip this step if you are reusing a payment method that already exists in the Payment Method picklist. The Payment Method picklist is shared (a global value set), so you add new values once in Setup.1
Open the Payment Method value set
From Setup, go to Picklist Value Sets, then open Payment Method.
2
Add the value
Scroll to Values and click New. Enter the new value — for example,
Society of Innovators Credit Card — and click Save.Create the Custom Payment Type Record
1
Open the Payment Types tab
Click the App Launcher, type
Payment Types, and open it. Then click New.2
Choose the record type
Choose the Payment (
FC_Payment) record type for a checkout option that staff or members select at pay time. Click Next.3
Fill in the core fields
Complete at least the following:
- Payment Type Name — a descriptive label. For example,
Society of Innovators Credit CardorSOI ACH. - Business Unit (
Business_Unit__c) — the Business Unit this Payment Type belongs to. - Payment Method (
Payment_Method__c) — the medium of payment. Select the value you added above, or an existing one. - Deposit Account (
Deposit_Account__c) — the GL Account that receives the funds. This lookup is filtered to GL Accounts of the same Business Unit. - Display Payment Type (
Display_Payment_Type__c) — controls where the Payment Type appears. The values arePortal and Staff,Portal,Staff, andDisabled. OnlyStaffandPortal and StaffPayment Types appear in the staff pay and refund flows. - Refund Behavior (
Refund_Behavior__c) — controls how refunds work. The values areCannot Refund,Refund only if original payment, andValid for All Refunds. - Staff Order (
Staff_Order__c) — the sort position of this Payment Type in the Payment Method dropdown when staff pay an order.
4
Set the front-end components
In the System Information section, set the components that render at runtime:
- Payment Component (
Payment_Component__c) — the component shown when paying. This can be a fusionCore-supplied component (for exampleFCORE_PAY/orderPaymentCashOrCheck) or your own custom one. - Refund Component (
Refund_Component__c) — the component shown when refunding (for exampleFCORE_PAY/orderRefundCash) or your own custom one.
These component fields are not on the Payment Type page layout by default. Administrators can view and edit them, by adding to the layout, or with a tool such as Salesforce Inspector Reloaded (pending your IT approval).
5
Save
When every section is complete, click Save.
Limitations and Common Pitfalls
fusionCore enforces these rules in code (not as declarative validation rules), so they will not appear under Setup > Validation Rules. A blocked save returns an on-screen error.- Provider methods require a Payment Provider Account. A Payment Type whose Payment Method is
ACH,Alipay,Card, orWeChat Paywill not save unless Payment Provider Account is set. For a custom offline-style method, use a payment method outside that provider list. Valid for All Refundscannot be combined with a Payment Provider Account. Provider-backed refunds are expected to useRefund only if original paymentinstead.- Auto-succeed flags are for offline methods only. The Auto-Update Payment FE To Succeeded (
Auto_Update_Payment_FE_To_Succeeded__c) and Auto-Update Refund FE To Succeeded (Auto_Update_Refund_FE_To_Succeeded__c) checkboxes cannot be checked when a Payment Provider Account is set. They exist so offline methods (such as Cash or Check) can auto-mark their financial event as succeeded; provider-backed events get their real status from the provider. - Only one Account Credit Payment Type per Business Unit. A second
Paymentrecord with Payment MethodAccount Creditfor the same Business Unit is blocked. - A deposit account cannot be deleted while in use. You cannot delete a GL Account that any Payment Type references as its Deposit Account; reassign the Payment Type first.
- Currency filtering applies only in multi-currency orgs. Leave Supported Currencies (
Supported_Currencies__c) blank to support all currencies. In a multi-currency org, a populated list that omits the order’s currency silently hides the Payment Type from the pay screen — a frequent “why is my method missing” cause. - Component fields are hidden by default. Because Payment Component and Refund Component are not on the default layout, a Payment Type created without them will render nothing at pay or refund time. Confirm both are populated.

