Chargent Support Center

As of 12/11/2019 Chargent is retiring Desk and moving to a new ticketing system for support. Please click the Open A Ticket link below to create a new case or search our knowledge base below.

Run the batch job from the Developer Console

When doing development, it is useful to be able to run the Chargent scheduled apex for the recurring batch on demand, instead of scheduling it and waiting until that time is reached. 

1. Choose  Developer Console  at the right top corner in the dropdown list under the User name.  
dev console

2. In just opened window go te the  Debug -> Open Execute Anonymous Window  or just use 
CTRL+E  hotkey.  
debug image

3. Clear the  Enter Apex  

Code  window.

4. Paste this code to execute the batch and click  Execute  button.  
Apex Code
For Orders package: ChargentOrders.TChargentBatchProcessing b = new ChargentOrders.TChargentBatchProcessing();

5. After the steps above one Apex Job will be executed. You may return to the Salesforce org and monitor the Job status ( Setup -> Monitoring -> Apex Jobs ).

Related Articles

Contact Support
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found