mpower 1.0.4 → 1.0.5
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.
- data/lib/mpower/checkout/invoice.rb +3 -2
- data/lib/mpower/version.rb +1 -1
- metadata +1 -1
|
@@ -40,7 +40,7 @@ module MPower
|
|
|
40
40
|
end
|
|
41
41
|
|
|
42
42
|
def add_custom_data(key,value)
|
|
43
|
-
@custom_data[key] = value
|
|
43
|
+
@custom_data["#{key}"] = value
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
def get_items
|
|
@@ -56,7 +56,7 @@ module MPower
|
|
|
56
56
|
end
|
|
57
57
|
|
|
58
58
|
def get_custom_data(key)
|
|
59
|
-
@custom_data["#{
|
|
59
|
+
@custom_data["#{key}"]
|
|
60
60
|
end
|
|
61
61
|
|
|
62
62
|
def confirm(token)
|
|
@@ -107,6 +107,7 @@ module MPower
|
|
|
107
107
|
:logo_url => @store.logo_url,
|
|
108
108
|
:website_url => @store.website_url
|
|
109
109
|
},
|
|
110
|
+
:custom_data => @custom_data,
|
|
110
111
|
:actions => {
|
|
111
112
|
:cancel_url => @cancel_url,
|
|
112
113
|
:return_url => @return_url
|
data/lib/mpower/version.rb
CHANGED