ruby-gpwebpay 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gp_webpay/payment.rb +1 -1
- data/lib/gp_webpay/verification.rb +2 -0
- data/lib/gp_webpay/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e02f9ec406203476768f544dbaae57da41d97cd4a32e3be4196af98d69fefa06
|
4
|
+
data.tar.gz: f672fad5ae02cd02ea5d969e725695bd9334f4eb40a55720362cad1340a310c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87c83d74dff2f30e5dc59012f92d46c0404fdeee9616b366d505862ced6b1b3390bb37a8f254f137fd6271879093a11599fb118940e9aa7176f531f99e99d475
|
7
|
+
data.tar.gz: 2a0e7ee6365da766248626cec960140c4eaf472b668d900fcd1a0d71687b72bf40ad65b6758f40b4f1ad208c46cc5f170efff2f02bd64bc13aa806ec33aed985
|
data/lib/gp_webpay/payment.rb
CHANGED
@@ -29,8 +29,8 @@ module GpWebpay
|
|
29
29
|
def pay_url(options = {})
|
30
30
|
self.redirect_url ||= options[:redirect_url]
|
31
31
|
|
32
|
-
generated_url = "#{config.pay_url}?#{pay_verification.payment_attributes_with_digest.to_param}"
|
33
32
|
GpWebpay.logger.info "Attributes user for URL generation: #{pay_verification.payment_attributes_with_digest}"
|
33
|
+
generated_url = "#{config.pay_url}?#{pay_verification.payment_attributes_with_digest.to_param}"
|
34
34
|
GpWebpay.logger.info "Produced URL: #{generated_url}"
|
35
35
|
generated_url
|
36
36
|
end
|
@@ -4,7 +4,9 @@ module GpWebpay
|
|
4
4
|
class Verification
|
5
5
|
def initialize(payment_attributes, verification_attrs = nil)
|
6
6
|
@payment_attributes = payment_attributes
|
7
|
+
GpWebpay.logger.info "Payment Attrs: #{@payment_attributes}"
|
7
8
|
@verification_attrs = verification_attrs
|
9
|
+
GpWebpay.logger.info "Verification Attrs: #{@verification_attrs}"
|
8
10
|
end
|
9
11
|
|
10
12
|
def verified_response?(params)
|
data/lib/gp_webpay/version.rb
CHANGED