Configuring Payment Collection Settings
WHMCS can automatically charge client's payment methods, so you don't have to worry about running credit cards at renewal time.
To set this up, start by navigating to Configuration > System Settings > Automation Settings (Setup > Automation Settings in WHMCS 7.10 and earlier).
Scroll to the Credit Card Charging Settings section.
The default values for these settings will be sufficient for many businesses:
Capture payments before invoice due date
Process Days Before Due specifies the number of days before the due date that you wish to capture.
For example, setting this to 1 would first attempt to charge the card one day before the invoice due date.
Use a value of 0 to capture payment on the invoice due date.
Make one payment capture attempt or many
Attempt Only Once is unchecked by default, so the system will attempt payment capture for unpaid invoices daily until it's successful. By checking this option, WHMCS will only attempt to charge the customer’s card once. If it fails, it will not try again until the client or an admin makes a manual payment attempt.
Choose to capture payment attempts daily or weekly
Retry Every Week For defaults to 0, which causes the system to attempt payment captures every day for overdue invoices.
If a credit card is declined and this setting is enabled, WHMCS will attempt payment capture once a week for this number of weeks.
For example, a setting of 2 would attempt to charge the card on the due date, seven days later, and one final time 14 days later. After this, the system wouldn't attempt payment capture again.
Invoice Due Date: 01/01/2019
First Capture Attempt: 01/01/2019
Second Capture Attempt: 07/01/2019
Third Capture Attempt: 14/01/2019
Configure when to send credit card expiry notices
CC Expiry Notices Date lets you specify the day of the month on which to send reminders to clients about upcoming credit card expirations.
The default value of 25 will send a notice on the 25th to customers whose cards expire next month. The system will also remove the expiring credit card when it sends this email.
Keep expired credit cards on record
Check Do Not Remove CC on Expiry to keep the client's credit card information on file after its expiration date.
The system will still send expiration reminders according to your other configured settings.
For more information about these and other settings, see our Automation Settings Documentation .
In the next guide we'll see how to configure a payment gateway to receive these payments.