so_paid 0.0.8 → 0.0.9

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.
@@ -17,6 +17,12 @@ SoPaid.configure do |config|
17
17
  # hash if you don't want, and just use the default
18
18
  # outer hash
19
19
 
20
+ # ALSO: merchant_defined_data100
21
+ # is reserved for gem to determine
22
+ # which 'mode' was originally chosen
23
+ # before posting to cybersource
24
+ # upon reply verification sig.
25
+
20
26
  :live=>{
21
27
  :secret_key=>"your_key",
22
28
  :access_key=>"your_key"
@@ -79,7 +79,7 @@ module SoPaid
79
79
 
80
80
 
81
81
  def self.verify_transaction_signature(message)
82
- if message[:req_merchant_defined_data100].present? and message[:req_merchant_defined_data] == "test"
82
+ if message[:req_merchant_defined_data100].present? and message[:req_merchant_defined_data100] == "test"
83
83
  secret_key = get_secret_key_for(:test)
84
84
  else
85
85
  secret_key = get_secret_key_for(:live)
@@ -1,3 +1,3 @@
1
1
  module SoPaid
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: so_paid
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: