pay 6.6.0 → 6.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pay/paddle/payment_method.rb +1 -1
- data/lib/pay/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: 6ab0375b33bf0e7b915b73943996117c80c1c27698a0194dc061804edf18e200
|
4
|
+
data.tar.gz: 50c1aea0c823cc6c1ed317fc1b9742c53b8ed9dfe0f8d8d7d580dbeb4b5b9008
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6e964209c442885544401a62dfe5669a26a9f04ffacbf3531a1ec6d3eb7bb97dfa2dc9298397abfa9aabe7547e54851369bbd96505ce08ec0a90f5d28358671
|
7
|
+
data.tar.gz: e6749f6044b4075cd107d9cfb0b7739e9d60a7a55d9dac952520b1ddc71609e10825946395ab5271a19dcda07cb9e0703827864e6cf2dbbfe8eba0921bb1e26d
|
@@ -25,7 +25,7 @@ module Pay
|
|
25
25
|
subscription_user = PaddlePay::Subscription::User.list({subscription_id: subscription_id}).try(:first)
|
26
26
|
payment_information = subscription_user ? subscription_user[:payment_information] : {}
|
27
27
|
|
28
|
-
case payment_information[:payment_method]
|
28
|
+
case payment_information[:payment_method]&.downcase
|
29
29
|
when "card"
|
30
30
|
{
|
31
31
|
payment_method_type: :card,
|
data/lib/pay/version.rb
CHANGED