AffiliateWP Stripe Payout - Overview

AffiliateWP Stripe Payouts allows you to pay your affiliates from your Stripe account with a single click. This add-on also allows you to automate payments by scheduling the affiliate-earning payouts individually and in bulk. As a result, you can dramatically decrease the amount of time you spend processing payouts, giving you more time to run your business. At the same time, you will be able to boost affiliate satisfaction by giving them quick access to their funds. 

This document will walk you through the steps you need to follow to use the add-on to pay your affiliates through stripe.

Installation:

  • Install and activate the AffiliateWP plugin.
  • Install and activate the AffiliateWP Stripe Payout.
  • There will be a sub-menu labeled as “Stripe Payout Settings” under the menu of Affiliates on the WP Dashboard.

On the front end, a Stripe Payouts tab will be displayed on the Affiliate Area page.Stripe Payout Settings:

Navigate to Affiliates > Stripe Payout Settings from the WP Dashboard. Here you will find the general settings for all the features this addon offers.

License Settings:

The license key can be added here. Place your license key in the field and click on Activate. License keys can be found in the email received when you purchased the addon.

General Settings:

Under this tab, you will find the general deactivation settings for your addon.  The options that are enabled will come into effect if you deactivate the add-on.

  • Delete stripe integrating settings

Select “yes” if you want to delete all Stripe Integration settings once the plugin is deactivated.

  • Delete affiliates stripe accounts connections?

Select “yes” if you want to delete all Stripe account connections once the plugin is deactivated.

  • Delete schedules?

Select “yes” if you want to delete all schedules once the plugin is deactivated.

  • Delete admin emails settings

Select “yes” if you want to delete all admin email settings once the plugin is deactivated.

  • Delete affiliate emails settings

Select “yes” if you want to delete all affiliate email settings once the plugin is deactivated.

Stripe Integration Settings:

Under this tab, you will find all the settings you need to integrate your Stripe API and Stripe Account with the website.

  • API Access Mode

This option lets you select the working environment of your plugin. The Stripe API will work accordingly on your selection from test Data or Live Data

  • Stripe Account ID

This field lets you enter your Stripe Account ID to integrate your Stripe account with our plugin. 

Note: The account ID is found by scrolling down on the Profile page when you log into your Stripe’s account.

Stripe:

  • API Keys:
  • Publishable Key

Login to your Stripe Account and navigate to Developers > API keys from the left side menu; there will be a Publishable Key under Standard Keys. Paste it here.

  • Secret Key

The secret Key is also located in the Standard Keys section. Copy and paste it in this field.

Here is where the keys will be located on your Stripe Account:

On a successful connection of the Stripe Account, the widget on the right will show a summary of the connected Admin account.

Note: If you want to know more about Stripe Keys, read about them on official Stripe Doc.

  • Connect Settings

These settings are needed to connect the affiliates’ account with the Admin’s account so that the payouts to the affiliates can be swift and hassle-free.

  • Live Client ID

Navigate to Settings > Connect (Settings) from the Stripe’s Account, and after setting up the other options, scroll down to the section of “Integration” and copy the Live Client ID and paste it here in the Live Client’s text field.

  • Affiliates are allowed to connect via

You can select which type of account you want the affiliates to have and connect with your account. You can offer them the choice of connecting between Stripe Express Account, Stripe Standard Account, or you can let the affiliate select an account type of preference on the frontend. Be sure to double-check the OAuth settings by navigating to Settings > Connect (Settings) from the Stripe’s Account.

Stripe:

There will be a section of Redirects just below the OAuth settings; specify, and put the URLs you want to redirect the user on the successful connection of their accounts with the admin account.

Front-end:

  • Account WebHook

Configure the Stripe webhook to have access to  Admin emails and correct responses from our plugin to Stripe.

  • WebHook URL

This field contains the WebHook’s URL ready to be integrated into your Stripe Account.

  • Signing Secret

After the integration of Account’s WebHook, there will be signing secret key on the configured endpoint on the path  Developers > Webhooks after the successful integration of WebHook. Copy the key and paste it here.

Scheduled Payouts Settings

From this tab, you can schedule automatic payouts to your affiliates by creating a schedule.

To add a stripe payout schedule, follow these steps:

  • Navigate to Affiliates > Stripe Payout settings > Scheduled Payouts Settings and click “Add New Schedule.”
  • Fill the rest of the fields accordingly, including the affiliates.
  • Click save settings.
  • The saved schedule will appear on the Scheduled Payouts page.

Hovering over the schedule will present you with standard WP options i.e

  • Edit - Lets you edit the schedule
  • Execute - Lets you execute the flow.
  • Delete - Lets you delete the created schedule.

Email Settings

This tab contains the available setting options for emails. The plugin provides the ability to send email notifications on the following events:

ADMIN NOTIFICATIONS

  • Affiliate's Stripe Connected
  • Affiliate's Stripe Disconnected
  • Transfer Failed
  • Payout Failed

AFFILIATE NOTIFICATIONS

  • Affiliate's Stripe Connected
  • Affiliate's Stripe Disconnected
  • Transfer Created
  • Transfer Failed
  • Payout Paid
  • Payout Failed

Connect Account and ‘Connect Application’ Webhook to Stripe

Follow these steps to connect your Account and application webhooks to Stripe.

  • Navigate to Affiliates > Stripe Payout settings and select the tab of “Stripe Integration Settings” from the WP Dashboard.
  • Scroll down to the section of Account WebHook or Connect Application WebHook and copy the WebHook URL.

 

  • Login to your Stripe Account and navigate to Developers > Webhooks from the left side menu.
  • Click “Add endpoint” in front of the “Endpoints receiving events from your account” or “Endpoints receiving events from Connect applications” heading depending upon Account WebHook or Application WebHook.
  • On the next screen, paste the account webhook URL you copied in Step 2 in the Endpoint URL field.
  • Scroll down and click “Receive all events” under the section of Events to send.
  • Click Add endpoint.

Payout Affiliates Individually and in Bulk

Upon the affiliates’ successful referrals, navigate to the Affiliates > Referrals from the WP dashboard to payout.

There will be an option of Stripe Payout in front of a successful unpaid referral, which depends upon three conditions:

  1. The affiliate account should be active.
  2. The affiliate’s stripe account should be connected with the admin’s account.
  3. The referral must be unpaid.

If the user wants to have a bulk payout, he can mark the unpaid referrals and select “Stripe Bulk Payouts” from the WP Action dropdown.