breadmachine 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/README.rdoc +27 -25
  2. metadata +2 -4
  3. data/README +0 -0
@@ -1,36 +1,30 @@
1
- = breadmachine
1
+ = BreadMachine
2
2
 
3
- Note the version number and consider very carefully whether you really need to
4
- use this code.
5
-
6
- Make dough with BreadMachine, a ruby interface for the SecureTrading XPay gateway.
7
-
8
- Should work with XPay v3.51 and v4.0.
3
+ Make dough with BreadMachine, a ruby interface for the SecureTrading[http://securetrading.com/] XPay[http://securetrading.com/support/xpay.html] gateway.
9
4
 
10
5
  == Installation
11
6
 
12
- Until we get a config file going, make an initializer called breadmachine.rb
13
- in config/initializers, and stick the following into it:
7
+ gem install breadmachine
8
+
9
+ Configure BreadMachine with your SecureTrading merchant account settings.
14
10
 
15
11
  BreadMachine::SecureTrading.configure do |config|
16
12
  config.currency = 'GBP'
17
- config.site_reference = 'yourxpaysitereference'
18
- config.term_url = 'http://www.foo.com/your_callback_url'
19
- config.merchant_name = "Hubbub"
13
+ config.site_reference = 'site12345'
14
+ config.term_url = 'http://www.example.com/callback_url'
15
+ config.merchant_name = "Dr Widgopolis' Widget Factory"
20
16
  end
21
17
 
22
- # TODO: check to see that this is absolutely true wrt currency
23
- config.currency: the standard ISO reference for your currency
18
+ * currency: The standard ISO reference for the currency your merchant account.
19
+ * site_reference: Provided to you by SecureTrading.
20
+ * term_url: the URL that the user's ACS will post back to after a 3-D Secure authentication check.
21
+ * merchant_name: The merchant name displayed to the user when authenticating with their ACS.
24
22
 
25
- config.site_reference: provided to you by SecureTrading
23
+ If you're using Rails, you can place your test account settings in config/development.rb and live settings in config/production.rb
26
24
 
27
- config.term_url: the resource that your ACS will post back to after a 3-D
28
- Secure authentication check. If you decide to append any parameters to this
29
- when your callback executes (i.e. http://www.foo.com/your_callback_url/123-ordernumber)
30
- then remember to include a trailing slash on it - BreadMachine will just concatenate
31
- the values together.
25
+ == Compatibility
32
26
 
33
- config.merchant_name: provided by SecureTrading
27
+ BreadMachine is targeted at v3.51 of the Xpay API, which is used for Xpay versions 3.51 and 4
34
28
 
35
29
  == Glossary
36
30
 
@@ -39,11 +33,11 @@ a lot of confusion. Here are some terms you might need to be familiar with:
39
33
 
40
34
  === 3-D Secure
41
35
 
42
- The glorious credit card fraud prevention scheme beloved by web developers everywhere.
36
+ The glorious credit card fraud prevention scheme incorporating {Verified by Visa}[http://www.visaeurope.com/merchant/handlingvisapayments/cardnotpresent/verifiedbyvisa.jsp] and {MasterCard SecureCode}[http://www.mastercard.com/us/personal/en/cardholderservices/securecode/index.html].
43
37
 
44
- === 3-D Secure ACS
38
+ === ACS
45
39
 
46
- This is the 3-D Secure Access Control Server, i.e. the 3-D Secure "verified by visa/mastercard" password page which you redirect your users to.
40
+ Access Control Server: The 3-D secure authentication server for the user's card issuing bank
47
41
 
48
42
  == Note on Patches/Pull Requests
49
43
 
@@ -56,7 +50,15 @@ This is the 3-D Secure Access Control Server, i.e. the 3-D Secure "verified by v
56
50
  bump version in a commit by itself I can ignore when I pull)
57
51
  * Send me a pull request. Bonus points for topic branches.
58
52
 
53
+ == Contributors
54
+
55
+ BreadMachine is maintained by Matt Southerden ({matt@localbubble.com}[mailto:matt@localbubble.com], {@mattsoutherden}[http://twitter.com/mattsoutherden])
56
+
57
+ Others who have contributed their time to the project include:
58
+
59
+ {Dave Hrycyszyn}[http://github.com/futurechimp]
60
+
59
61
  == Copyright
60
62
 
61
- Copyright (c) 2009 Matt Southerden, Dave Hrycyszyn. See LICENSE for details.
63
+ Copyright (c) 2009 Matt Southerden. See LICENSE for details.
62
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: breadmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Southerden
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-31 00:00:00 +00:00
12
+ date: 2009-11-02 00:00:00 +00:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -110,7 +110,6 @@ extensions: []
110
110
 
111
111
  extra_rdoc_files:
112
112
  - LICENSE
113
- - README
114
113
  - README.rdoc
115
114
  files:
116
115
  - lib/breadmachine.rb
@@ -142,7 +141,6 @@ files:
142
141
  - lib/breadmachine/secure_trading/xpay_response.rb
143
142
  - lib/breadmachine/secure_trading/xpay_socket.rb
144
143
  - LICENSE
145
- - README
146
144
  - README.rdoc
147
145
  has_rdoc: true
148
146
  homepage: http://github.com/mattsoutherden/breadmachine
data/README DELETED
File without changes