Rebill and PrestaShop site unavailability
Prerequisites
Section titled “Prerequisites”- Ciklik module installed and configured on PrestaShop
- Access to hosting configuration (firewall, WAF, .htaccess)
- Knowledge of how rebills work
Behavior in case of unavailability
Section titled “Behavior in case of unavailability”If the PrestaShop site is inaccessible when Ciklik attempts to place renewal orders:
- Rebills are not marked as errors in the Ciklik interface
- They do not appear as typical failures
- The rebill is automatically retried 24 hours later
- The subscription remains at active status during this time
Causes of unavailability
Section titled “Causes of unavailability”PrestaShop maintenance
Section titled “PrestaShop maintenance”- CMS PrestaShop update
- Module installation/update
- Database migration
- Server intervention
Technical issues
Section titled “Technical issues”- Web server crash (Apache, Nginx)
- Resource exhaustion (memory, CPU)
- SSL certificate expiration
- DNS problem
Security blocks
Section titled “Security blocks”- Firewall blocking Ciklik IP
- WAF (Web Application Firewall) rejecting requests
- Overly restrictive anti-DDoS protection
- Blocking .htaccess rules
Hosting precautions
Section titled “Hosting precautions”Whitelist Ciklik IP
Section titled “Whitelist Ciklik IP”Checks to perform:
| Layer | Action |
|---|---|
| System firewall (iptables, CSF, UFW) | Add Ciklik IP to whitelist |
| WAF (ModSecurity, Sucuri) | Create an exception rule for Ciklik IP |
| Cloudflare / CDN | Configure a bypass rule |
| Anti-DDoS protection (OVH, etc.) | Add IP to whitelist |
.htaccess | Verify no rule blocks API requests |
To obtain the Ciklik server IP, contact support: support@ciklik.co
PrestaShop maintenance mode
Section titled “PrestaShop maintenance mode”PrestaShop maintenance mode also blocks Ciklik API calls.
See also: Activating maintenance mode / Closing the site to visitors
Maintenance scheduling
Section titled “Maintenance scheduling”Rebills are generally processed at night. To minimize impact:
Recommendations:
- Schedule PrestaShop maintenance during the day
- Avoid critical updates on rebill days (often the 1st of the month)
- If maintenance must occur during the rebill window, contact Ciklik support to schedule a manual rebill after maintenance
Problem diagnosis
Section titled “Problem diagnosis”Symptoms of unavailability
Section titled “Symptoms of unavailability”- Active subscriptions with
end_dateno longer updating - No visible errors in the Ciklik interface
- No new orders in PrestaShop for several days
Server-side checks
Section titled “Server-side checks”# Check access logs for Ciklik requestsgrep "IP_CIKLIK" /var/log/apache2/access.log
# Check error logstail -100 /var/log/apache2/error.log
# Check HTTP responses (should be 200)curl -I https://your-site.com/module/ciklik/apiCiklik-side checks
Section titled “Ciklik-side checks”-
Access rebill errors via the API:
Fenêtre de terminal GET /api/rebill-errors?filter[created_at_after]=2026-01-01 -
Check if “PrestaShop API” type errors appear
-
Contact Ciklik support if you suspect a communication problem
Corrective actions
Section titled “Corrective actions”After an unavailability
Section titled “After an unavailability”If your site was unavailable during a rebill window:
- Verify that the site is accessible again from outside
- Test the Ciklik API endpoint:
https://your-site.com/module/ciklik/api - Wait 24 hours: rebills will be automatically retried
- Or contact support to trigger an immediate manual rebill
Prevention
Section titled “Prevention”- Configure monitoring (UptimeRobot, Pingdom, etc.) on the Ciklik API endpoint
- Enable alerts in case of unavailability
- Document the IPs to whitelist for technical teams
Q: Will customers be charged twice if the rebill is retried?
No. The system checks if the rebill has already been successfully completed before retrying. No double charging is possible.
Q: How many times does Ciklik retry in case of unavailability?
The rebill is retried every 24 hours until the site is accessible again. There is no limit on retry attempts for accessibility errors (unlike credit card payment errors).
Q: How can I know if my site was unavailable during a rebill?
Check your web server access logs at the scheduled rebill date/time. The absence of requests from the Ciklik IP or response codes other than 200 indicate a problem.
Q: Does PrestaShop maintenance mode affect rebills?
Yes. Maintenance mode blocks all requests, including those from Ciklik. Add the Ciklik IP to the exception list or disable maintenance mode before rebills.