0.0
No commit activity in last 3 years
No release in over 3 years
BreadMachine facilitates payment processing, including 3-D Secure, with the SecureTrading XPay gateway
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

BreadMachine¶ ↑

Make dough with BreadMachine, a ruby interface for the SecureTrading XPay gateway.

Installation¶ ↑

gem install breadmachine

Configure BreadMachine with your SecureTrading merchant account settings.

BreadMachine::SecureTrading.configure do |config|
  config.currency = 'GBP'
  config.site_reference = 'site12345'
  config.term_url = 'http://www.example.com/callback_url'
  config.merchant_name = "Dr Widgopolis' Widget Factory"
end
  • currency: The standard ISO reference for the currency your merchant account.

  • site_reference: Provided to you by SecureTrading.

  • term_url: the URL that the user’s ACS will post back to after a 3-D Secure authentication check.

  • merchant_name: The merchant name displayed to the user when authenticating with their ACS.

If you’re using Rails, you can place your test account settings in config/development.rb and live settings in config/production.rb

Compatibility¶ ↑

BreadMachine is targeted at v3.51 of the Xpay API, which is used for Xpay versions 3.51 and 4

Glossary¶ ↑

The terminology surrounding credit card payment systems is arcane and can cause a lot of confusion. Here are some terms you might need to be familiar with:

3-D Secure¶ ↑

The glorious credit card fraud prevention scheme incorporating Verified by Visa and MasterCard SecureCode.

ACS¶ ↑

Access Control Server: The 3-D secure authentication server for the user’s card issuing bank

Note on Patches/Pull Requests¶ ↑

  • Fork the project.

  • Make your feature addition or bug fix.

  • Add tests for it. This is important so I don’t break it in a future version unintentionally.

  • Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)

  • Send me a pull request. Bonus points for topic branches.

Contributors¶ ↑

BreadMachine is maintained by Matt Southerden (matt@localbubble.com, @mattsoutherden)

Others who have contributed their time to the project include:

Dave Hrycyszyn

Copyright © 2009-2010 Matt Southerden. See LICENSE for details.