WP Manifestindependent plugin directory
manifest / ecommerce / stripe-for-wordpress-referrals

Stripe For WordPress Referrals Add-On

Referral Add-On for my Stripe for WordPress plugin

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/royboy789/stripe-for-wordpress-referrals/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Stripe for WordPress Referral Add-On

This is an add-on plugin for my Stripe for WP plugin

How it works

When a new user is created, a code is generated for that user, they can use it to refer friends.
When the friend comes to the site they will be asked for the code, it will validate its authenticity, as well as that the referring customer is not delinquent per Stripe

You have the option to set a dollar amount to send to the referrer (original customer) and referral (new customer) upon completion of sign up

Requires Stripe for WP plugin

API

This plugin utilizes both the WordPress REST API and Stripe PHP Lib API to make sure your data is up to date.

Angular

Plugin is built in AngularJS, it is a single page client side application that runs in the WordPress admin dashboard.

REST API Endpoints

I have created a few endpoints if you want to extend. All under the stripe-wp namespace

  • stripe-wp/code-check - check the code to make sure it is valid

To Install

  • Clone Repo
  • Run npm install
  • Run gulp
  • Move build, inc, templates, and stripe-wp-referrals.php into a new directory within your wp-content/plugins
  • Login to your dashboard and activate the Stripe for WordPress Referrals Add-On plugin

TO-DO

all to-do, issues, and feature requests are in issues