Skip to content
This repository has been archived by the owner on Feb 18, 2018. It is now read-only.

deanpcmad/shoppe-paypal

Repository files navigation

PayPal Shoppe Module

This module helps with including PayPal within your Shoppe application. The information below explains how to get this module installed within your Rails application.

Installing

Add the gem to your Gemfile and run bundle install

gem "shoppe-paypal"

For the latest up to date documentation, please see the Shoppe tutorial page.

Workflow

  • Start an order
  • Give the user the decision of payment
  • Create a PayPal payment
  • Redirect the user to PayPal using the previous URL
  • User logs in & accepts payment
  • Redirected to success URL and payment details are stored with the order
  • Complete order
  • When the order is accepted in the Shoppe admin, the payment will be executed/captured
  • When the order is rejected, the payment is refunded
  • Refund payments from the Shoppe admin

To Do

  • Tests!