Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 9

...

Open the Developer Console , > Debug > Open Execute Anonymous Window > paste the code below, and execute

Code Block
breakoutModewide
GatewaySettlementReconciliationBatch settlement = new GatewaySettlementReconciliationBatch();
String cronExp = '0 30 3 * * ?';
System.schedule('[PosiPay] Gateway Settlement Reconciliation', cronExp, settlement);

For Testing only

If the above code doesn't work follow these steps :

Create a Screen Flow

  • Go to Setup > Flow > Click New Flow

...

  • Select Screen Flow and click Create.

...

  • Add Element and select Screen.

...

  • In the Components, click PosiPay Settings and fill in the Label and the API Name (auto-populated), then click Done.

...

  • After completing the flow, click Save and fill in the Flow Label and the Flow API Name will auto populate.

Flow Label: Gateway Settlement Schedule

Flow API Name: auto-populated once the Flow Label is input.

Next place to go: Step 7 - Set up Stripe Payment Flow

...