No commit activity in last 3 years
No release in over 3 years
Offsite Payments is a simple abstraction library used in and sponsored by Shopify. It is written by Tobias Luetke, Cody Fauser, and contributors. The aim of the project is to put as simple an abstraction as possible on top of offsite (often called hosted) payment pages, and allow contributors to easily help services such as Shopify extend the number of offsite payment services they support.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0
>= 3.2.14
>= 0
~> 3.0
>= 0

Runtime

< 5.1, >= 3.2.20
< 5.1, >= 3.2.14
~> 3.2.0
< 4.0.0, >= 2.1.2
~> 0.5
< 7.0.0
~> 1.4
 Project Readme

Better Offsite Payments

Build Status Code Climate Test Coverage

Offsite Payments is an extraction from the ecommerce system Shopify. Shopify's requirements for a simple and unified API to handle dozens of different offsite payment pages (often called hosted payment pages) with very different exposed APIs was the chief principle in designing the library.

It was developed for usage in Ruby on Rails web applications and integrates seamlessly as a Rails plugin. It should also work as a stand alone Ruby library, but much of the benefit is in the ActionView helpers which are Rails-specific.

Offsite Payments has been in production use (originally as part of the ActiveMerchant project) since June 2006. It is maintained by the Shopify team, with much help from an ever-growing set of contributors.

*The Universal API defines a standard set of requests and callbacks that can be used to integrate with Shopify. A sample app and documentation are hosted here. The Universal API should be used for all integrations in which placement within Shopify is the desired outcome.

Installation

From Git

You can check out the latest source from git:

git clone https://github.com/yurijmi/better_offsite_payments.git

From RubyGems

Installation from RubyGems:

gem install better_offsite_payments

Or, if you're using Bundler, just add the following to your Gemfile:

gem 'better_offsite_payments'

API documentation.

Supported Integrations

Misc.

  • This library is MIT licensed.
  • We will gladly accept contributions. See CONTRIBUTING.md for more information.