WP Simple Pay Documentation

Documentation, Reference Materials, and Tutorials for WP Simple Pay

Tips & Tricks

Join our Newsletter

Please enable JavaScript in your browser to complete this form.
Get tips, tricks, and resources delivered directly to your mailbox.
WP Simple Pay
Save 50%!

How to Configure Anti-Spam by Clean Talk Settings

For some users, Anti-Spam by Clean Talk will block the submission of payment forms and display the following error, Cannot read properties of undefined (reading "id")

Whitelist Requests

To resolve this, you will need to whitelist the WP Simple Pay requests in the CleanTalk settings by marking them as Not Spam as described in their documentation.

Requests to the WP Simple Pay REST API endpoints should also be unblocked and formatted as shown below:

https://your-website.com/wp-json/wpsp/*

Exclude Page URLs

We also recommend excluding the full URLs for any payment form pages you’ve created. To add exclusions, from the WordPress admin go to Settings → Anti-Spam by CleanTalk → Advanced settings → Exclusions. After making all the necessary changes, save the changes.

anti spam cleantalk exclusions

Activate a CAPTCHA and enable Email Verification for anti-spam protection.

Still have questions? We’re here to help!

Last Modified:

Start Accepting Payments Today

Start accepting one-time and recurring payments or donations on your WordPress website.