Recurring Payments
Namespace:Atomia.Billing.Plugins.GenericWorkflowPlugin.ScheduledTasks.RecurringPaymentsScheduledEventHandler
Some of the payment gateways supports recurring payments for the customers. The configuration options will be described below.
Example configuration:
            {
              "ApplyToSubresellers":true,
              "DefaultDelay": "PT10M",
              "FailureTemplatePrefix": "AutopaymentFailure",
              "SuccessTemplatePrefix": "AutopaymentSuccess",
              "MaximumAttempts": 2,
              "Retries": [
                {
                  "Delay": "PT10M",
                  "FailureTemplatePrefix": "AutopaymentFailure1",
                  "SuccessTemplatePrefix": "AutopaymentSuccess"
                },
                {
                  "Delay": "PT30M",
                  "FailureTemplatePrefix": "AutopaymentFailure2",
                  "SuccessTemplatePrefix": "AutopaymentSuccess"
                }
              ]
            }
- ApplyToSubresellers If set to true and this configuration is reseller specific then it also applies reseller’s sub-resellers.
- DefaultDelay How long the system should wait until a retry will be made. This must be specified in the ISO-8601 Duration format.
- FailureTemplatePrefix Failure email template.
- SuccessTemplatePrefix Successfull email template.
- MaximumAttempts Maximum number of attempts before giving up.
- Retries[].Delay How long the system will wait until next retry. This must be specified in the ISO-8601 Duration format.
- Retries[].FailureTemplatePrefix Failure email template for this attempt.
- Retries[].SuccessTemplatePrefix Success email template for this attempt.