- Please find attached zip file which has metadata to be deployed to your org after you install Lite Pae app in your Salesforce org.
- It has 2 flows, which basically have Lite Pae compoent with some additional steps to collect payment using Salesforce flows.
- Minimum version of Lite Pae required - v1.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _MyModule = {}; | |
// public function | |
_MyModule.Add = function (a, b) { | |
// your code here | |
return parseFloat(a) + parseFloat(b); | |
}; | |
_MyModule.Subtract = function (a, b) { | |
// your code here | |
return parseFloat(a) - parseFloat(b); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# image: if want to use custom docker image. The recipe in dockerhub | |
resources: | |
containers: | |
- container: mycustomimage | |
image: balindersingh/salesforce-deploy | |
# default container | |
pool: | |
vmImage: 'windows-latest' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addMenu() { | |
var ui = SpreadsheetApp.getUi(); | |
ui.createMenu('Air Table') | |
.addItem('Create a dummy record Airtable','createAirtableSingleTestRecord') | |
.addItem('Push current sheet to Airtable','createAirtableRecordFromCurrentSheet') | |
.addToUi(); | |
} | |
const Airtable_API_Key = "<YOUR_AIRTABLE_API_KEY>"; | |
const Airtable_API_Endpoint = "https://api.airtable.com/v0/"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Sample cmd to run in terminal | |
# Code Sample 1: it will validate to org (-u) | |
# sh cicd-deploy.sh -u "yourpborg@pboedition.com.sandbox" -ev "your_ev" -ek "your_ek" -ck "your_sf_connected_app_client_id" | |
USERNAME=""; | |
CHECKONLY="true"; | |
CONSUMER_KEY=""; | |
ENCRYPTION_IV=""; | |
ENCRYPTION_KEY=""; | |
INSTANCE_URL="https://test.salesforce.com"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* @input (Request object): | |
* @param: JSON String to Parse ==> | |
@example: | |
{ | |
"Charges": [ | |
{ | |
"CardDetail": { | |
"Brand": "visa", | |
"ExpMonth": 2, |