WP Simple Pay

The WP Simple Pay integration with AffiliateWP allows you to track affiliate referrals for payments made via Stripe on your WordPress site. This guide will show you how to set up and use the WP Simple Pay integration with AffiliateWP to manage and track affiliate referrals effectively.

Enable WP Simple Pay integration

To enable support for WP Simple Pay, go to AffiliateWP » Settings » Integrationscheck the box next to WP Simple Pay, and click Save Changes.

WP Simple Pay Integration

This will enable AffiliateWP to track and record referrals for payments made through WP Simple Pay using Stripe.

Using WP Simple Pay with AffiliateWP

Once the Stripe integration is enabled, all purchase forms set up through WP Simple Pay will generate referral records for affiliates. When a referral is recorded, the Reference column in AffiliateWP will display the Stripe Charge ID (transaction ID). Clicking on this ID will take you directly to the charge details page in your Stripe account, making it easy to review and check purchases.

Setting Up Webhook Notifications

For AffiliateWP to track form payments and create referrals when using WP Simple Pay Pro version 3.6.0 or higher, you must set up webhook notifications in your Stripe account. Here’s how you can do it:

  1. Navigate to WP Simple Pay » Settings » Stripe » Webhooks in your WordPress admin.
  2. Locate the webhook URL provided in this section.
  3. Follow the instructions in the article Accepting Webhooks from Stripe to set up the webhook in your Stripe account.

For help connecting your Stripe account with WP Simple Pay Pro, refer to this article: Stripe Setup – Connecting your Stripe Account.

Viewing and Managing Referrals

When referrals are recorded, the Reference column will show the Stripe Charge ID. This ID links directly to the charge details page in your Stripe account. This feature makes it easy to check and review each purchase tied to an affiliate referral, ensuring that your records are accurate and transparent.

Frequently Asked Questions

Is the Recurring Referrals addon supported by this Stripe integration?

Yes, the Recurring Referrals addon is supported as of version 1.6. This allows you to track referrals for recurring payments, so you can reward affiliates for ongoing subscriptions and payments made through WP Simple Pay.

Is the Lifetime Commissions add-on supported by this Stripe integration?

Currently, the Lifetime Commissions addon is not supported. This means you won’t be able to track lifetime commissions through WP Simple Pay at this time.

Are referrals automatically rejected when charges are refunded in Stripe?

No, referrals are not automatically rejected when charges are refunded in Stripe. You’ll need to manually handle these situations, so it’s a good idea to regularly review your referrals and refunds.

Do I have to use WP Simple Pay, or can I embed custom Stripe forms on my site?

You must use WP Simple Pay to place the purchase forms on your site. Custom Stripe forms created outside of WP Simple Pay are not supported. This integration specifically works with WP Simple Pay forms.

Can I set different referral rates for each purchase form?

At this time, setting different referral rates for each purchase form is not supported. All forms will use the default referral rate set in AffiliateWP.

How do I know if the Stripe integration is working correctly?

To check if the Stripe integration is working, go to the AffiliateWP » Referrals screen and see if new referrals are being recorded with the Stripe Charge ID in the Reference column. If you see this, the integration is working as expected.

Can I use WP Simple Pay Lite, or do I need the Pro version?

You can use either WP Simple Pay Lite or WP Simple Pay Pro. Both versions are supported by AffiliateWP for tracking referrals, so you can choose the one that best fits your needs.


That’s it! Integrating WP Simple Pay with AffiliateWP allows you to track and manage affiliate referrals for Stripe payments on your WordPress site. By following the steps in this guide, you can ensure that referrals are accurately recorded and managed, helping to boost your affiliate marketing efforts.