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.
You can check out the latest source from git:
git clone https://github.com/Shopify/offsite_payments.git
Installation from RubyGems:
gem install offsite_payments
Or, if you're using Bundler, just add the following to your Gemfile:
gem 'offsite_payments'
- 2 Checkout
- A1Agregator - RU
- Authorize.Net SIM - US
- Banca Sella GestPay
- BitPay
- Chronopay
- DirecPay
- Direct-eBanking / sofortueberweisung.de by Payment-Networks AG - DE, AT, CH, BE, UK, NL
- Dotpay
- Doku
- Dwolla
- ePay
- First Data
- HiTRUST
- Moneybookers
- Nochex
- PagSeguro - BR
- Paxum
- PayPal Website Payments Standard
- PayDollar
- Paysbuy - TH
- Platron - RU
- RBK Money - RU
- Robokassa - RU
- SagePay Form
- Suomen Maksuturva
- Valitor - IS
- Verkkomaksut - FI
- WebMoney - RU
- WebPay
- WorldPay
The source code is hosted at GitHub, and can be fetched using:
git clone https://github.com/Shopify/offsite_payments.git
Please don't touch the CHANGELOG in your pull requests, we'll add the appropriate CHANGELOG entries at release time.