How to Whitelist the PayHelm-Import User Agent in WooCommerce / WordPress
What is the PayHelm-Import User Agent?
When PayHelm connects to your WooCommerce store to import your orders, products, and customer data, our servers identify themselves using a specific user agent string: PayHelm-Import. This is similar to how web browsers identify themselves when visiting websites.
The user agent helps your server recognize that the incoming requests are legitimate data import requests from PayHelm, not malicious traffic.
Why Would I Need to Whitelist It?
Many WordPress sites use security plugins, web application firewalls (WAFs), Cloudflare, or hosting-level firewalls to protect against bots, scrapers, and malicious traffic. While these security measures are essential for protecting your store, they can sometimes block legitimate services like PayHelm.
Your security tools may block the PayHelm-Import user agent because:
- Security plugins may flag unfamiliar user agents as suspicious bots
- Cloudflare Bot Management may challenge or block automated requests
- Web application firewalls may block automated requests that don't match common browser patterns
- Hosting firewalls may have strict bot protection rules enabled by default
- Rate limiting may trigger when PayHelm makes multiple API requests during data imports
When You Might See Issues
You may need to whitelist the PayHelm-Import user agent if you experience:
- Import failures — Orders, products, or customer data fails to sync
- Timeouts — Import processes start but never complete
- Blocked requests — Error messages indicating your requests were denied
- Partial imports — Some data imports successfully while other data is missing
- 403 or 401 errors — Access denied or unauthorized messages in your PayHelm dashboard
- Cloudflare challenge pages — Requests being intercepted by Cloudflare's bot protection
How to Whitelist PayHelm-Import
Option 1: Cloudflare
If your site uses Cloudflare, you'll need to create a WAF rule to allow PayHelm requests:
Using Cloudflare Dashboard:
- Log in to your Cloudflare dashboard at dash.cloudflare.com
- Select your website/domain
- Navigate to Security → WAF (Web Application Firewall)
- Click on Custom rules tab
- Click Create rule
- Give your rule a name like "Allow PayHelm Import"
- Under When incoming requests match..., set up the expression: - Field: User Agent - Operator: contains - Value:
- Under Then take action..., select Skip or Allow
- If using Skip, check the boxes for the security features you want to bypass (WAF rules, Rate limiting, etc.)
- Click Deploy to save the rule
PayHelm-Import
Alternative: Using Expression Builder:
You can also use this expression directly:
(http.user_agent contains "PayHelm-Import")
Cloudflare Bot Management (Enterprise):
If you have Cloudflare Bot Management enabled:
- Go to Security → Bots
- Navigate to Configure Super Bot Fight Mode or Bot Management
- Add
PayHelm-Importto your verified bots allowlist, or - Create a custom rule as described above to skip bot challenges for this user agent
Cloudflare Security Level:
If you have a high security level set:
- Go to Security → Settings
- Consider creating a Page Rule or WAF exception for your WooCommerce API endpoints (
/wp-json/wc/*) that allows the PayHelm-Import user agent
Option 2: WordPress Security Plugins
Most WordPress security plugins allow you to add trusted user agents to an allowlist. Here are general steps:
- Log in to your WordPress admin dashboard
- Navigate to your security plugin's settings (usually found in the main menu)
- Look for Firewall, Bot Protection, or User Agent settings
- Find the Allowlist, Whitelist, or Trusted Bots section
- Add
PayHelm-Importto the list of allowed user agents - Save your changes
Tip: Some plugins may have this setting under "Advanced Settings" or "Firewall Rules."
Option 3: Hosting Dashboard or cPanel
If your hosting provider offers firewall controls:
- Log in to your hosting control panel (cPanel, Plesk, or custom dashboard)
- Look for Security, ModSecurity, or Firewall settings
- Find the user agent or bot management section
- Add
PayHelm-Importas an allowed or trusted user agent - Save your configuration
Note: Some managed WordPress hosts handle security at the server level. You may need to contact their support team to whitelist the user agent.
Option 4: Other Web Application Firewalls (WAF)
If you use a cloud-based WAF service other than Cloudflare:
- Log in to your WAF or CDN dashboard
- Navigate to Firewall Rules or Security Settings
- Create a new rule to allow requests with user agent containing
PayHelm-Import - Set the action to Allow or Bypass
- Save and deploy the rule
Option 5: Server-Level Configuration
For advanced users with server access, you can add rules to your .htaccess file (Apache) or server configuration:
SetEnvIfNoCase User-Agent "PayHelm-Import" allowed_bot
Note: Server-level changes should only be made if you're comfortable with server configuration. Consider consulting with your hosting provider or a developer.
Troubleshooting
Import Still Failing After Whitelisting
- Clear caches — Clear any caching plugins, server-side caches, and Cloudflare cache
- Check multiple layers — You may have security at multiple levels (Cloudflare + plugin + hosting). Ensure all layers have been updated
- Verify the exact user agent — Make sure you entered
PayHelm-Importexactly as shown (case-sensitive in some systems) - Disable security temporarily — As a test, temporarily disable your security plugin or pause Cloudflare to confirm it's the source of the block. Re-enable immediately after testing
- Check server logs — Look at your WordPress debug logs or server error logs for specific block messages
Cloudflare-Specific Troubleshooting
- Check Cloudflare Firewall Events — Go to Security → Events to see if PayHelm requests are being blocked
- Review your Security Level — Under Security → Settings, check if your security level is set too high
- Check Bot Fight Mode — Ensure Bot Fight Mode isn't blocking the requests (Security → Bots)
- Verify rule order — Make sure your allow rule has higher priority than block rules
- Check for conflicting Page Rules — Page Rules can override WAF settings
Finding What's Blocking PayHelm
To identify which security layer is blocking requests:
- Check your security plugin's activity log or blocked requests section
- Review Cloudflare's Firewall Events for blocked or challenged requests
- Review your hosting's access logs for denied requests
- Look in your WAF dashboard for blocked traffic from PayHelm's IP addresses
Still Need Help?
If you've tried the steps above and are still experiencing issues:
- Note the exact error message you see in PayHelm
- Identify which security tools are installed on your site (including Cloudflare settings)
- Check Cloudflare Firewall Events for any blocked requests
- Contact PayHelm support with these details, and we'll help you troubleshoot
Our team can provide additional guidance specific to your setup and help ensure your data imports smoothly.
Related Articles
Resolving Etsy Order Fulfillment Sync Issues with PayHelm
Learn how to resolve Etsy order fulfillment sync issues in PayHelm to ensure accurate shipping and insurance processing.
Troubleshooting Data Visibility Issues and Using Backfill Functionality
Resolve data visibility issues in PayHelm by ensuring proper WooCommerce connection and utilizing the backfill functionality effectively.
Resolving Discrepancies in Shopify Payouts with PayHelm
Learn how to address discrepancies in Shopify payouts using PayHelm's filtering and reporting features for accurate financial reconciliation.