Skip to content

Rebill and PrestaShop site unavailability

  • Ciklik module installed and configured on PrestaShop
  • Access to hosting configuration (firewall, WAF, .htaccess)
  • Knowledge of how rebills work

If the PrestaShop site is inaccessible when Ciklik attempts to place renewal orders:

  1. Rebills are not marked as errors in the Ciklik interface
  2. They do not appear as typical failures
  3. The rebill is automatically retried 24 hours later
  4. The subscription remains at active status during this time
  • CMS PrestaShop update
  • Module installation/update
  • Database migration
  • Server intervention
  • Web server crash (Apache, Nginx)
  • Resource exhaustion (memory, CPU)
  • SSL certificate expiration
  • DNS problem
  • Firewall blocking Ciklik IP
  • WAF (Web Application Firewall) rejecting requests
  • Overly restrictive anti-DDoS protection
  • Blocking .htaccess rules

Checks to perform:

LayerAction
System firewall (iptables, CSF, UFW)Add Ciklik IP to whitelist
WAF (ModSecurity, Sucuri)Create an exception rule for Ciklik IP
Cloudflare / CDNConfigure a bypass rule
Anti-DDoS protection (OVH, etc.)Add IP to whitelist
.htaccessVerify no rule blocks API requests

To obtain the Ciklik server IP, contact support: support@ciklik.co

PrestaShop maintenance mode also blocks Ciklik API calls.

See also: Activating maintenance mode / Closing the site to visitors

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
  • Active subscriptions with end_date no longer updating
  • No visible errors in the Ciklik interface
  • No new orders in PrestaShop for several days
Fenêtre de terminal
# Check access logs for Ciklik requests
grep "IP_CIKLIK" /var/log/apache2/access.log
# Check error logs
tail -100 /var/log/apache2/error.log
# Check HTTP responses (should be 200)
curl -I https://your-site.com/module/ciklik/api
  1. Access rebill errors via the API:

    Fenêtre de terminal
    GET /api/rebill-errors?filter[created_at_after]=2026-01-01
  2. Check if “PrestaShop API” type errors appear

  3. Contact Ciklik support if you suspect a communication problem

If your site was unavailable during a rebill window:

  1. Verify that the site is accessible again from outside
  2. Test the Ciklik API endpoint: https://your-site.com/module/ciklik/api
  3. Wait 24 hours: rebills will be automatically retried
  4. Or contact support to trigger an immediate manual rebill
  • 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.