pay 3.0.5 → 3.0.6
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pay might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/pay/stripe/webhooks/customer_updated.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: 2a5f1e8f94af3893db2d70bfd6f7b153213c0fc6bcc8c73b5d58465f94a35ea9
|
4
|
+
data.tar.gz: 14cc1b16d5a6cfc1ff4b220cef61c4910da17bd6e896719e8ecda7284894b848
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2b2164b3af965a2598c1c9257ded5741c2e0631d08f36198b32a981b3a4e7edc0fb83e6dc7bc9de00c796a9dc8bdafab2a36f385e3bb47511aa7376924a5be3
|
7
|
+
data.tar.gz: 6550e82d22748167fa820dbfa48bf2db33e8f98369bb37ac654492a7ea37578b8d8ccd77ab93354e677f1ef94b788afb52f3d537e52dc7fd39084356fa2d3047
|
@@ -11,7 +11,7 @@ module Pay
|
|
11
11
|
|
12
12
|
# Sync default card
|
13
13
|
if (payment_method_id = pay_customer.customer.invoice_settings.default_payment_method)
|
14
|
-
Pay::Stripe::PaymentMethod.sync(payment_method_id,
|
14
|
+
Pay::Stripe::PaymentMethod.sync(payment_method_id, stripe_account: event.try(:account))
|
15
15
|
|
16
16
|
else
|
17
17
|
# No default payment method set
|
data/lib/pay/version.rb
CHANGED