CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 23 Jul 2025 11:49:19 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091128134816
location: https://web.archive.org/web/20091128134816/https://github.com/github/active_merchant
server-timing: captures_list;dur=0.756726, exclusion.robots;dur=0.025693, exclusion.robots.policy;dur=0.011299, esindex;dur=0.015700, cdx.remote;dur=75.683221, LoadShardBlock;dur=329.792896, PetaboxLoader3.datanode;dur=139.695540, PetaboxLoader3.resolve;dur=60.745835
x-app-server: wwwb-app225
x-ts: 302
x-tr: 454
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: SERVER=wwwb-app225; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 23 Jul 2025 11:49:20 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 28 Nov 2009 13:48:14 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "63d2e4411d737f64ddac3ab764123ab6"
x-archive-orig-x-runtime: 80ms
x-archive-orig-content-length: 34005
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sat, 28 Nov 2009 13:48:16 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 28 Nov 2009 13:48:16 GMT", ; rel="memento"; datetime="Sat, 28 Nov 2009 13:48:16 GMT", ; rel="next memento"; datetime="Wed, 06 Jan 2010 14:06:09 GMT", ; rel="last memento"; datetime="Wed, 06 Jan 2010 14:06:09 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20091128092430_crawl100-c/51_13_20091128134711_crawl101.arc.gz
server-timing: captures_list;dur=3.008002, exclusion.robots;dur=0.020817, exclusion.robots.policy;dur=0.009529, esindex;dur=0.015028, cdx.remote;dur=23.000669, LoadShardBlock;dur=329.442296, PetaboxLoader3.datanode;dur=165.574402, PetaboxLoader3.resolve;dur=217.642201, load_resource;dur=136.436393
x-app-server: wwwb-app225
x-ts: 200
x-tr: 559
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
github's active_merchant at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Fork of stympy/active_merchant | |
Description: | Mirror of active merchant plugin edit |
Homepage: | https://www.activemerchant.org/ edit |
Public Clone URL: |
git://github.com/github/active_merchant.git
Give this clone URL to anyone.
git clone git://github.com/github/active_merchant.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:github/active_merchant.git
|

codyfauser (author)
Wed Apr 23 12:15:13 -0700 2008
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Wed Apr 23 12:15:13 -0700 2008 | Add support for UK Maestro to Protx git-svn-i... [codyfauser] |
![]() |
CONTRIBUTERS | Fri Mar 14 07:58:40 -0700 2008 | Add contributor entry for Payflow NV implementa... [codyfauser] |
![]() |
MIT-LICENSE | Tue Feb 20 15:45:30 -0800 2007 | Move to a subdirectory called active_merchant s... [codyfauser] |
![]() |
README | Mon Jan 28 13:45:49 -0800 2008 | Update README git-svn-id: https://activemerchan... [codyfauser] |
![]() |
Rakefile | Sun Feb 24 14:29:08 -0800 2008 | Update for release of 1.3.2 git-svn-id: http:/... [codyfauser] |
![]() |
gem-public_cert.pem | Loading commit data... ![]() |
|
![]() |
generators/ | Fri Jan 18 13:46:11 -0800 2008 | Update gateway templates git-svn-id: https://ac... [codyfauser] |
![]() |
init.rb | ||
![]() |
lib/ | Wed Apr 23 12:15:13 -0700 2008 | Add support for UK Maestro to Protx git-svn-i... [codyfauser] |
![]() |
script/ | Fri Nov 30 14:14:12 -0800 2007 | Update project to use Rubigen git-svn-id: http... [codyfauser] |
![]() |
test/ | Mon Apr 21 10:20:00 -0700 2008 | Add tests for length of UK Maestro cards git-... [codyfauser] |
README
= Active Merchant This library is supposed to aid in creating e-commerce software in Ruby. In the future we want to support all "good" payment gateways. This library is the foundation of commerce for https://www.shopify.com. Please visit the {ActiveMerchant homepage}[https://activemerchant.org] for more resources, tutorials and other information about this project. == Supported Direct Payment Gateways The {ActiveMerchant Wiki}[https://code.google.com/p/activemerchant/wiki] contains a {table of features supported by each gateway}[https://code.google.com/p/activemerchant/wiki/SupportedGatewayPaymentOperations]. * {Authorize.net}[https://www.authorize.net/] - US * {Braintree}[https://www.braintreepaymentsolutions.com] - US * {CardStream}[https://www.cardstream.com/] - GB * {CyberSource}[https://www.cybersource.com] - US * {DataCash}[https://www.datacash.com/] - GB * {Efsnet}[https://www.concordefsnet.com/] - US * {eWAY}[https://www.eway.com.au/] - AU * {E-xact}[https://www.e-xact.com] - CA, US * {LinkPoint}[https://www.linkpoint.com/] - US * {Moneris}[https://www.moneris.com/] - CA * {NetRegistry}[https://www.netregistry.com.au] - AU * {NETbilling}[https://www.netbilling.com] - US * {PayJunction}[https://www.payjunction.com/] - US * {PaySecure}[https://www.commsecure.com.au/paysecure.shtml] - AU * {PayPal Express Checkout}[https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside] - US, CA, SG, AU * {PayPal Express Checkout (UK)}[https://www.paypal.com/uk/cgi-bin/webscr?cmd=_additional-payment-overview-outside] - GB * {PayPal Payflow Pro}[https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-pro-overview-outside] - US, CA, SG, AU * {PayPal Website Payments Pro (UK)}[https://www.paypal.com/uk/cgi-bin/webscr?cmd=_wp-pro-overview-outside] - GB * {PaymentExpress}[https://www.paymentexpress.com/] - AU, MY, NZ, SG, ZA, GB, US * {PayPal Express Checkout}[https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside] - US * {PayPal Website Payments Pro (US)}[https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside] - US * {Plug'n Pay}[https://www.plugnpay.com/] - US * {Protx}[https://www.protx.com] - GB * {Psigate}[https://www.psigate.com/] - CA * {PSL Payment Solutions}[https://www.paymentsolutionsltd.com/] - GB * {Quickpay}[https://quickpay.dk/] - DK * {Realex}[https://www.realexpayments.com/] - IE, GB * {SecurePay}[https://www.securepay.com/] - US * {SecurePayTech}[https://www.securepaytech.com/] - NZ * {SkipJack}[https://www.skipjack.com/] - US, CA * {TransFirst}[https://www.transfirst.com/] - US * {TrustCommerce}[https://www.trustcommerce.com/] - US * {USA ePay}[https://www.usaepay.com/] - US * {Verifi}[https://www.verifi.com/] - US * {ViaKLIX}[https://viaklix.com] - US == Supported Offsite Payment Gateways * {PayPal Website Payments Standard}[https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-overview-outside] * Chronopay[https://www.chronopay.com] * Nochex[https://www.nochex.com] * {Banca Sella GestPay}[https://www.sella.it/banca/ecommerce/gestpay/gestpay.jsp] * {2 Checkout}[https://www.2checkout.com] * {HiTRUST}[https://www.hitrust.com.hk/] == Download Currently this library is available with svn from: https://activemerchant.googlecode.com/svn/trunk/active_merchant == Installation === From Subversion You can check out the latest source from svn: > svn co https://activemerchant.googlecode.com/svn/trunk/active_merchant === As a Rails plugin ActiveMerchant includes an init.rb file. This means that Rails will automatically load ActiveMerchant on startup. Run the following command from the root directory of your Rails project to install ActiveMerchant as a Rails plugin: > ./script/plugin install https://activemerchant.googlecode.com/svn/trunk/active_merchant === From Ruby Gems Installation from RubyGems > gem install activemerchant == Sample Usage require 'rubygems' require 'active_merchant' # Use the TrustCommerce test servers ActiveMerchant::Billing::Base.mode = :test # ActiveMerchant accepts all amounts as Integer values in cents # $10.00 amount = 1000 # The card verification value is also known as CVV2, CVC2, or CID credit_card = ActiveMerchant::Billing::CreditCard.new( :first_name => 'Bob', :last_name => 'Bobsen', :number => '4242424242424242', :month => '8', :year => '2012', :verification_value => '123' ) # Validating the card automatically detects the card type if credit_card.valid? # Create a gateway object for the TrustCommerce service gateway = ActiveMerchant::Billing::TrustCommerceGateway.new( :login => 'TestMerchant', :password => 'password' ) # Authorize for the amount response = gateway.purchase(amount, credit_card) if response.success? puts "Successfully charged $#{sprintf("%.2f", amount / 100)} to the credit card #{credit_card.display_number}" else raise StandardError, response.message end end == Contributing Please see the {ActiveMerchant Guide to Contributing}[https://code.google.com/p/activemerchant/wiki/Contributing] for information on adding a new gateway to ActiveMerchant.
This feature is coming soon. Sit tight!