The Last Processed Date work in conjunction with the Next Payment Date to do catch up payments.
This process is assuming that the workflow "Last Processed Date Check for Monthly" related to the "Recurring Payment" object is not active. If you do not want catch up to occur, then please enable this workflow. If this workflow does not exist in your instance of Salesforce then please upgrade to the latest release.
For example:
If the following values were setup:
- Today's date is the 25/07/2016 (July 25th, 2016)
- Payment Day is set as "01"
- Last Processed Date is set as 1/04/2016 (April 1st, 2016)
- Next Payment date is set as 1/05/2016 (May 1st, 2016)
- Frequency is set as Monthly
- Amount is set as $50
The Merchant Facility - Recurring Payment Processor was started during the day of the 25/07/2016 (July 25th, 2016)
The following processing will occur over the next consecutive days:
- On the morning of the 26/07/2016 (July 26th, 2016), $50 will be charged. The Last Processed Date will be set as 1/05/2016 (May 1st, 2016) and Next Payment Date is set as 1/06/2016 (June 1st, 2016)
- On the morning of the 27/07/2016 (July 27th, 2016), $50 will be charged. The Last Processed Date will be set as 1/06/2016 (June 1st, 2016) and Next Payment Date is set as 1/07/2016 (July 1st, 2016)
- On the morning of the 28/07/2016 (July 28th, 2016), $50 will be charged. The Last Processed Date will be set as 1/07/2016 (July 1st, 2016) and Next Payment Date is set as 1/08/2016 (August 1st, 2016)
- On the morning of the 28/07/2016 (July 28th, 2016), there will be no charge as all caught up
- On the morning of the 29/07/2016 (July 29th, 2016), there will be no charge as all caught up
- On the morning of the 31/07/2016 (July 30th, 2016), there will be no charge as all caught up
- On the morning of the 01/08/2016 (August 1st, 2016), $50 will be charged. The Last Processed Date will be set as 1/08/2016 (August 1st, 2016) and Next Payment Date is set as 1/09/2016 (September 1st, 2016)