CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 23 Jul 2025 09:29:50 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100106140609
location: https://web.archive.org/web/20100106140609/https://github.com/github/active_merchant
server-timing: captures_list;dur=0.935255, exclusion.robots;dur=0.028379, exclusion.robots.policy;dur=0.012020, esindex;dur=0.015408, cdx.remote;dur=43.160440, LoadShardBlock;dur=249.336813, PetaboxLoader3.datanode;dur=51.249666, PetaboxLoader3.resolve;dur=87.268541
x-app-server: wwwb-app215
x-ts: 302
x-tr: 335
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app215; 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 09:29:50 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 06 Jan 2010 14:06:07 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "47e149b2ada9ac15b7c088228dbdca22"
x-archive-orig-x-runtime: 274ms
x-archive-orig-content-length: 32027
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: Wed, 06 Jan 2010 14:06:09 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="prev memento"; datetime="Sat, 28 Nov 2009 13:48:16 GMT", ; rel="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_20100106120225_crawl102-c/51_13_20100106140251_crawl101.arc.gz
server-timing: captures_list;dur=18.481692, exclusion.robots;dur=0.029992, exclusion.robots.policy;dur=0.012787, esindex;dur=0.018761, cdx.remote;dur=8.937841, LoadShardBlock;dur=186.528035, PetaboxLoader3.datanode;dur=164.468650, PetaboxLoader3.resolve;dur=141.875733, load_resource;dur=143.246235
x-app-server: wwwb-app215
x-ts: 200
x-tr: 455
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
github / active_merchant forked from stympy/active_merchant
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
-
Branches (1)
- master ✓
- Tags (0)

codyfauser (author)
Wed Apr 23 12:15:13 -0700 2008
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!