Payment component
Learn how to use the Payment component for various use cases.
Enable or disable specific payment methods
{
âpurposeâ: âoverridePaymentsâ, //Required parameter
âpayloadâ : { //payload parameter is optional
âenabledPaymentMethodsâ:["creditCard","googlePay"], // contains list of methods that needs to enable
âdisabledPaymentMethodsâ:["creditCard","googlePay"]// contains list of methods that needs to disable
}
Publish the overridePayments event
import {subscribe, MessageContext, publish} from "lightning/messageService";
import dr_lms from "@salesforce/messageChannel/digitalriverv3__DigitalRiverMessageChannel__c";Publish and subscribe to the Fire Zero Dollar event
Last updated