{"id":15626184,"url":"https://github.com/raysrashmi/active_merchant","last_synced_at":"2025-10-28T00:33:10.727Z","repository":{"id":1000115,"uuid":"812037","full_name":"raysrashmi/active_merchant","owner":"raysrashmi","description":"extended active merchant plugin to support beanstream APIs...","archived":false,"fork":false,"pushed_at":"2010-08-02T10:23:50.000Z","size":6112,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T17:25:37.250Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raysrashmi.png","metadata":{"files":{"readme":"README.rdoc","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-08-02T10:21:51.000Z","updated_at":"2014-02-10T23:33:31.000Z","dependencies_parsed_at":"2022-08-16T11:45:24.256Z","dependency_job_id":null,"html_url":"https://github.com/raysrashmi/active_merchant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/raysrashmi/active_merchant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raysrashmi%2Factive_merchant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raysrashmi%2Factive_merchant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raysrashmi%2Factive_merchant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raysrashmi%2Factive_merchant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raysrashmi","download_url":"https://codeload.github.com/raysrashmi/active_merchant/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raysrashmi%2Factive_merchant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268439035,"owners_count":24250667,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-03T10:11:13.470Z","updated_at":"2025-10-28T00:33:05.702Z","avatar_url":"https://github.com/raysrashmi.png","language":"Ruby","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside","https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-pro-overview-outside","https://www.paypal.com/uk/cgi-bin/webscr?cmd=_wp-pro-overview-outside","https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside","https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-overview-outside"],"categories":[],"sub_categories":[],"readme":"= Active Merchant\n\nThis library is supposed to aid in creating e-commerce software in Ruby.\nIn the future we want to support all \"good\" payment gateways.\n\nThis library is the foundation of commerce for http://www.shopify.com.\n\nPlease visit the {ActiveMerchant homepage}[http://activemerchant.org] for more resources, tutorials and other information about this project.\n\n== Supported Direct Payment Gateways\n\nThe {ActiveMerchant Wiki}[http://github.com/Shopify/active_merchant/wikis] contains a {table of features supported by each gateway}[http://github.com/Shopify/active_merchant/wikis/gatewayfeaturematrix].\n\n* {Authorize.Net CIM}[http://www.authorize.net/] - US\n* {Authorize.Net}[http://www.authorize.net/] - US\n* {Beanstream.com}[http://www.beanstream.com/] - CA\n* {Braintree}[http://www.braintreepaymentsolutions.com] - US\n* {CardStream}[http://www.cardstream.com/] - GB\n* {CyberSource}[http://www.cybersource.com] - US\n* {DataCash}[http://www.datacash.com/] - GB\n* {Efsnet}[http://www.concordefsnet.com/] - US\n* {eWAY}[http://www.eway.com.au/] - AU\n* {E-xact}[http://www.e-xact.com] - CA, US\n* {LinkPoint}[http://www.linkpoint.com/] - US\n* {Merchant e-Solutions}[http://merchante-solutions.com/] - US\n* {Modern Payments}[http://www.modpay.com] - US\n* {Moneris}[http://www.moneris.com/] - CA\n* {NetRegistry}[http://www.netregistry.com.au] - AU\n* {NELiX TransaX Gateway}[http://www.nelixtransax.com] - US\n* {NETbilling}[http://www.netbilling.com] - US\n* {PayJunction}[http://www.payjunction.com/] - US\n* {PaySecure}[http://www.commsecure.com.au/paysecure.shtml] - AU\n* {PayPal Express Checkout}[https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside] - US, CA, SG, AU\n* {PayPal Payflow Pro}[https://www.paypal.com/cgi-bin/webscr?cmd=_payflow-pro-overview-outside] - US, CA, SG, AU\n* {PayPal Website Payments Pro (UK)}[https://www.paypal.com/uk/cgi-bin/webscr?cmd=_wp-pro-overview-outside] - GB\n* {PaymentExpress}[http://www.paymentexpress.com/] - AU, MY, NZ, SG, ZA, GB, US\n* {PayPal Website Payments Pro (CA)}[https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside] - CA\n* {PayPal Express Checkout}[https://www.paypal.com/cgi-bin/webscr?cmd=xpt/merchant/ExpressCheckoutIntro-outside] - US\n* {PayPal Website Payments Pro (US)}[https://www.paypal.com/cgi-bin/webscr?cmd=_wp-pro-overview-outside] - US\n* {Plug'n Pay}[http://www.plugnpay.com/] - US\n* {Protx}[http://www.protx.com] - GB\n* {Psigate}[http://www.psigate.com/] - CA\n* {PSL Payment Solutions}[http://www.paymentsolutionsltd.com/] - GB\n* {Quickpay}[http://quickpay.dk/] - DK\n* {Realex}[http://www.realexpayments.com/] - IE, GB\n* {Sage Payment Solutions}[http://www.sagepayments.com] - US, CA\n* {Sallie Mae}[http://www.salliemae.com] - US\n* {SecurePay}[http://securepay.com.au] - AU\n* {SecurePay}[http://www.securepay.com/] - US\n* {SecurePayTech}[http://www.securepaytech.com/] - NZ\n* {SkipJack}[http://www.skipjack.com/] - US, CA\n* {TransFirst}[http://www.transfirst.com/] - US\n* {TrustCommerce}[http://www.trustcommerce.com/] - US\n* {USA ePay}[http://www.usaepay.com/] - US\n* {Verifi}[http://www.verifi.com/] - US\n* {ViaKLIX}[http://viaklix.com] - US\n* {Wirecard}[http://www.wirecard.com] - DE\n\n== Supported Offsite Payment Gateways\n\n* {PayPal Website Payments Standard}[https://www.paypal.com/cgi-bin/webscr?cmd=_wp-standard-overview-outside]\n* Chronopay[http://www.chronopay.com]\n* Nochex[http://www.nochex.com]\n* {Banca Sella GestPay}[https://www.sella.it/banca/ecommerce/gestpay/gestpay.jsp]\n* {2 Checkout}[http://www.2checkout.com]\n* {HiTRUST}[http://www.hitrust.com.hk/]\n\n== Download\n\nCurrently this library is available with git from:\n\n  git://github.com/Shopify/active_merchant.git\n\n== Installation\n\n=== From Git\n\nYou can check out the latest source from git:\n\n  \u003e git pull git://github.com/Shopify/active_merchant.git\n\n=== As a Rails plugin\n\nActiveMerchant 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:\n\n  \u003e ./script/plugin install git://github.com/Shopify/active_merchant.git\n\n=== From Ruby Gems\n\nInstallation from RubyGems\n\n  \u003e gem install activemerchant\n\n== Sample Usage\n  require 'rubygems'\n  require 'active_merchant'\n\n  # Use the TrustCommerce test servers\n  ActiveMerchant::Billing::Base.mode = :test\n\n  # ActiveMerchant accepts all amounts as Integer values in cents\n  # $10.00\n  amount = 1000\n\n  # The card verification value is also known as CVV2, CVC2, or CID \n  credit_card = ActiveMerchant::Billing::CreditCard.new(\n                  :first_name         =\u003e 'Bob',\n                  :last_name          =\u003e 'Bobsen',\n                  :number             =\u003e '4242424242424242',\n                  :month              =\u003e '8',\n                  :year               =\u003e '2012',\n                  :verification_value =\u003e '123'\n                )\n\n  # Validating the card automatically detects the card type\n  if credit_card.valid?\n\n    # Create a gateway object for the TrustCommerce service\n    gateway = ActiveMerchant::Billing::TrustCommerceGateway.new(\n                :login =\u003e 'TestMerchant',\n                :password =\u003e 'password'\n              )\n\n    # Authorize for the amount\n    response = gateway.purchase(amount, credit_card)\n\n    if response.success?\n      puts \"Successfully charged $#{sprintf(\"%.2f\", amount / 100)} to the credit card #{credit_card.display_number}\"\n    else\n      raise StandardError, response.message \n    end\n  end\n\n== Contributing\n\nPlease see the {ActiveMerchant Guide to Contributing}[http://github.com/Shopify/active_merchant/wikis/contributing] for information on adding a new gateway to ActiveMerchant.\n\n  merchant_id = '123456789'\n  user = 'beanstream_user'\n  password = 'beanstream_password'\n  amount = 2000\n\n  gateway = ActiveMerchant::Billing::BeanstreamGateway.new(\n                                                         :login =\u003e merchant_id,\n                                                         :user =\u003e user,\n                                                         :password =\u003e password\n                                                         )\n  creditcard = ActiveMerchant::Billing::CreditCard.new(\n                                                     :number =\u003e '4030000010001234',\n                                                     :month =\u003e 8,\n                                                     :year =\u003e 2012,\n                                                     :first_name =\u003e 'Neeraj',\n                                                     :last_name =\u003e 'Kumar',\n                                                     :verification_value =\u003e 123\n                                                     )\n  # Make recurring payment for the amount\n  response = gateway.recurring(amount, creditcard, {\n                               :recurring_billing =\u003e {\n                                 :end_of_month =\u003e '0',\n                                 :tax1 =\u003e 0,\n                                 :interval =\u003e {\n                                   :unit =\u003e :months,\n                                   :length =\u003e '1'\n                                 },\n                                 :duration =\u003e {\n                                   :start_date =\u003e Date.today,\n                                   :occurrences =\u003e 5\n                                 }\n                               },\n                             :order_id =\u003e  \"ORDER#{Time.now.to_i}\",\n                             :billing_address =\u003e {\n                               :name =\u003e 'xiaobo zzz',\n                               :phone =\u003e '514-766-2333',\n                               :address1 =\u003e '123 Rene-levesque St.',\n                               :city =\u003e 'Montreal',\n                               :state =\u003e 'QC',\n                               :country =\u003e 'CA',\n                               :zip =\u003e 'H4D1W9'\n                             },\n                             :email =\u003e 'foo@example.com'})\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraysrashmi%2Factive_merchant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraysrashmi%2Factive_merchant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraysrashmi%2Factive_merchant/lists"}