wirecard_giropay 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e1739d577ea3243cfbb11e394871571fd54cd72
|
4
|
+
data.tar.gz: 482c3fb745d2f26374195086be91e1e7f5297749
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 345b781d850ae025b0fa4950d81df45e3a74832a0a102e1ff5ebd197341b12828f2eca4481dcdccf481bc0eaff708bbba74502a6084a90b9c8bfe8b889fa7ead
|
7
|
+
data.tar.gz: 3fcbb662ff0e8c04ca097b45d1745e256b023d7b13544312359cf5b4fef81dd5e3ae73688d58ddd462790c2226137ffa78b67b4834c40e9987cdcc8ccee25b70
|
@@ -33,7 +33,6 @@ module WirecardGiropay
|
|
33
33
|
rep_params = {}
|
34
34
|
@given_params.each { |key, value| rep_params["%{#{key}}"] = value }
|
35
35
|
rep_params['%{order_data}'] = order_data_xml
|
36
|
-
rep_params['%{transaction_mode}'] = transaction_mode
|
37
36
|
rep_params
|
38
37
|
end
|
39
38
|
|
@@ -43,9 +42,5 @@ module WirecardGiropay
|
|
43
42
|
@given_params[:order_data].each { |key, parameter| orders << "<Parameter name=\"#{key}\">#{parameter}</Parameter>" }
|
44
43
|
orders << '</ORDER_DATA>'
|
45
44
|
end
|
46
|
-
|
47
|
-
def transaction_mode
|
48
|
-
WirecardGiropay.sandboxed? ? 'demo' : 'live'
|
49
|
-
end
|
50
45
|
end
|
51
46
|
end
|