Payment Refunds
The Payment refunds scheduled task is used to check the posted credit notes in the ERP system and send requests to Sana Pay to refund payments based on the available credit notes.
For more information, see How to Make a Refund.
Set Up the Payment Refunds Task
To set up the Payment refunds scheduled task, click Edit.
The table below provides the description of the Payment refunds task settings.
Settings |
Description |
---|---|
Run on schedule |
Use this option to enable automatic running of the task according to the configured schedule or disable it to allow only manual start of the task.
If you enable Run on schedule, you should enter either the interval in minutes when the task should run automatically or the fixed time. |
Run interval (in minutes) |
Enter the time interval in minutes when the task should run automatically. |
Run time |
Enter a fixed time when the task should start automatically. Use the time picker to set the desired time. The user’s local time zone is used. |
Send e-mail to administrator when task has failed |
Use this option to enable or disable e-mail notifications when a scheduled task fails.
If the scheduled task has failed, the webstore administrator receives an e-mail with the name of the task that failed, the name of the webstore, which is useful in case you have several webstores, when the task failed, and the error message. Thanks to this, the webstore administrator can quickly respond to problems with data synchronization. |
Maximum archived log files |
Enter the maximum number of log files to store. If this number exceeds, the oldest log file will be removed and the new one will be created. |
Batch size |
Enter the number of posted credit notes that should be handled in one batch. |
Maximum interval between retries (seconds) |
Enter the maximum number of retries and the maximum interval between retries. If for some reason some payments cannot be refunded, the task will make more attempts to refund the payments within the specified time interval. These two values are interrelated - the number of retries is counted within the specified interval. Example: Maximum interval between retries (seconds): 60 Maximum retries count: 3 Result: If the payment refund fails, Sana Commerce Cloud will make up to 3 retries within 60 seconds to refund the payment. |
Maximum retries count |
|
Maximum items to skip before failure |
Enter the maximum items to skip before failure. When some posted credit notes cannot be checked for some reason, this value specifies how many credit notes can be skipped before the task fails. |