CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Thu, 31 Jul 2025 20:56:04 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100522003428
location: https://web.archive.org/web/20100522003428/https://github.com/stympy/active_merchant
server-timing: captures_list;dur=0.550535, exclusion.robots;dur=0.023289, exclusion.robots.policy;dur=0.010816, esindex;dur=0.010464, cdx.remote;dur=9.368869, LoadShardBlock;dur=445.710940, PetaboxLoader3.datanode;dur=303.932633, PetaboxLoader3.resolve;dur=81.779577
x-app-server: wwwb-app214
x-ts: 302
x-tr: 486
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: SERVER=wwwb-app214; 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: Thu, 31 Jul 2025 20:56:05 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Sat, 22 May 2010 00:34:28 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "a93f49c4b42157708f853ee04696d722"
x-archive-orig-x-runtime: 96ms
x-archive-orig-content-length: 29870
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, 22 May 2010 00:34:28 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Sat, 22 May 2010 00:34:28 GMT", ; rel="memento"; datetime="Sat, 22 May 2010 00:34:28 GMT", ; rel="next memento"; datetime="Mon, 11 Jun 2018 00:18:47 GMT", ; rel="last memento"; datetime="Wed, 16 Sep 2020 12:08:59 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_15_20100522000025_crawl100-c/51_15_20100522003416_crawl101.arc.gz
server-timing: captures_list;dur=0.496142, exclusion.robots;dur=0.018105, exclusion.robots.policy;dur=0.009192, esindex;dur=0.011889, cdx.remote;dur=294.774245, LoadShardBlock;dur=310.281742, PetaboxLoader3.datanode;dur=227.959966, PetaboxLoader3.resolve;dur=261.963120, load_resource;dur=235.820463
x-app-server: wwwb-app214
x-ts: 200
x-tr: 898
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
stympy's active_merchant at master - GitHub
stympy / active_merchant
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
name | age | message | |
---|---|---|---|
![]() |
CHANGELOG | Loading commit data... ![]() |
|
![]() |
CONTRIBUTERS | ||
![]() |
MIT-LICENSE | ||
![]() |
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 | ||
![]() |
generators/ | ||
![]() |
init.rb | ||
![]() |
lib/ | ||
![]() |
script/ | ||
![]() |
test/ | Fri Jun 06 10:19:57 -0700 2008 | Merging from shopify master [stympy] |
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.