百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
O

offsite_payments

> 编程语言
开源

一个简单且统一的 API,可处理数十个不同的异地支付页面。

171 stars0 点赞4 次浏览
访问官网GitHub

工具介绍

一个简单且统一的 API,可处理数十个不同的异地支付页面。

[!CAUTION] This gem is not actively maintained, and many of the integrations have not been updated in years. It is deprecated at Shopify, and should not be used.

Offsite Payments

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:

bash
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'

API documentation.

Supported Integrations

  • 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
  • Realex
  • HiTRUST
  • MOLPay - MY, SG, ID, TH, VN, PH, CN, AU
  • Moneybookers
  • Nochex
  • PagSeguro - BR
  • Paxum
  • PayPal Website Payments Standard
  • PayDollar
  • Paysbuy - TH
  • Platron - RU
  • QuickPay - AT, DE, DK, EE, LT, LV, FO, NL, NO, SE, UK
  • RBK Money - RU
  • Robokassa - RU
  • SagePay Form
  • Suomen Maksuturva
  • Valitor - IS
  • Verkkomaksut - FI
  • WebMoney - RU
  • WebPay
  • WorldPay

Misc.

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

Issues· 68 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言