ruby-gpwebpay 0.0.2 → 0.0.3
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.rb +9 -0
- data/lib/gp_webpay/payment.rb +4 -1
- 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: 5f6c2c9d8a6a86478203414e6e6a5da3c0cb740518cabd80fa1899e8af99bc20
|
4
|
+
data.tar.gz: beed7d948bfa831b7ec7b3f9450c92f83001678b9f0a15c51905ec1d4437f6ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8054c50b03e60d8e659793a9e2e6b3de8f796679f595265620561ebc076fa5e9e4752d696aca919c40810fff74eab8bd2e0267b5f201b4f1f28a33e176fba0bc
|
7
|
+
data.tar.gz: bfd11dc8894f4e5934c9a0caa3849b4c8e2eb2954e16ed2d19031003540d3221222a87125de193573e9e087946af9e7013b2f123b3f98d5d70c63b49df83e47e
|
data/lib/gp_webpay.rb
CHANGED
data/lib/gp_webpay/payment.rb
CHANGED
@@ -29,7 +29,10 @@ module GpWebpay
|
|
29
29
|
def pay_url(options = {})
|
30
30
|
self.redirect_url ||= options[:redirect_url]
|
31
31
|
|
32
|
-
"#{config.pay_url}?#{pay_verification.payment_attributes_with_digest.to_param}"
|
32
|
+
generated_url = "#{config.pay_url}?#{pay_verification.payment_attributes_with_digest.to_param}"
|
33
|
+
GpWebpay.logger.info "Attributes user for URL generation: #{pay_verification.payment_attributes_with_digest}"
|
34
|
+
GpWebpay.logger.info "Produced URL: #{generated_url}"
|
35
|
+
generated_url
|
33
36
|
end
|
34
37
|
|
35
38
|
def success?(params)
|
data/lib/gp_webpay/version.rb
CHANGED