Skip to content

Instantly share code, notes, and snippets.

@balindersingh
Created June 7, 2022 21:28
Show Gist options
  • Save balindersingh/21bb7a57b9f0153c1df92e3f1b9b32b0 to your computer and use it in GitHub Desktop.
Save balindersingh/21bb7a57b9f0153c1df92e3f1b9b32b0 to your computer and use it in GitHub Desktop.
Call Lite Pae LWC component in Aura component
<aura:component implements="forceCommunity:availableForAllPageTypes" access="global" >
<litepae:litePae paymentAccounts='<RecordId>' currencyCode="usd" buttonLabel="Payment" amountLabel="Amount ($):" isAmountReadOnly="true" amountToBeCharged='2550'></litepae:litePae>
</aura:component>
<!--
paymentAccounts - RecordId of litepae__Payment_Account__c
currencyCode - 3 digit currency code
buttonLabel - label for submit button
amountLabel - label for amount
isAmountReadOnly - make amount read only or editable for end user
amountToBeCharged - actual amount to be charged - in (cents) i.e. if charging $25 then set it to 2550
-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment