Skip to content

royboy789/Stripe-for-WordPress-Referrals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

Referral Add-On for my Stripe for WordPress plugin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published