Giter VIP home page Giter VIP logo

offsite_payments's Introduction

Offsite Payments

Build Status Code Climate

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 addition of your gateway to offsite_payments does not guarantee placement within Shopify. In order to have your gateway considered, please send an email to [email protected] with Offsite Payments Integration in the subject. Be sure to include:

  1. Name, URL & description of the payment provider you wish to integrate
  2. Markets served by this integration
  3. List of major supported payment methods
  4. Your most recent Certificate of PCI Compliance
  5. Reason that the Universal API* cannot be used for your integration.

*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/activemerchant/offsite_payments.git

From RubyGems

Installation from RubyGems:

gem install offsite_payments

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

gem 'offsite_payments'

Money gem dependency

At the moment, offsite_payments gem depends on Money object, which was previously included by default. Since Shopify released their own shopify-money gem. Because offsite_payments does not impose which one of those gems should be included into your gem file, as long as one of them is included.

It's important to note that either of those Money gems would need to be added to your Gemfile before the offsite_payments one.

API documentation.

Supported Integrations

Misc.

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

offsite_payments's People

Contributors

andrewpaliga avatar bdewater avatar wvanbergen avatar elfassy avatar celsodantas avatar pi3r avatar j-mutter avatar girasquid avatar justinplouffe avatar anotherjosmith avatar ntalbott avatar frankiecmk avatar filipebarcos avatar bslobodin avatar davidjrice avatar joshnuss avatar thereexistsx avatar bizla avatar simonleungaphk avatar tuomasb avatar rafaelfranca avatar christianblais avatar saifiikmal avatar odorcicd avatar aman-dureja avatar berkcaputcu avatar ivanfer avatar timbeiko avatar edouard-chin avatar kernel-mustard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.