phcdevworks_accounts_devise 0.1.1.pre.beta → 0.1.2.pre.beta
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d443ef363364d57eb6188e99c33c4a7f1e03393159c5c1bf73136ca3f0ccb69
|
4
|
+
data.tar.gz: 37f603fc6b06990f9ed77032e6825fd2b174f01b29d55ed2bfa13447fa6a8098
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 845e2c2b5f54123bb1c659ce543863c0b15e81c4bfe8b5a33a88f0535c1fabafdf3b0720e30ed0b49b6e091635650d702c06cd8177b623b7acdc12790952bebe
|
7
|
+
data.tar.gz: eaa29e9339b9eb52389ed6b2918204a6dcadf1cbbe1515697d08ca2d0a1cbb78affa248dbe4ee537f087e66345ec583f73d507828108a55f809c59cc1dd429a6
|
@@ -66,7 +66,7 @@ class Users::RegistrationsController < Devise::RegistrationsController
|
|
66
66
|
phcdevworks_accounts_devise_customer = Stripe::Customer.create({
|
67
67
|
email: current_user.email, name: current_user.firstname + " " + current_user.lastname
|
68
68
|
})
|
69
|
-
@user.payments_customer_id =
|
69
|
+
@user.payments_customer_id = phcdevworks_accounts_devise_customer.id
|
70
70
|
@user.save
|
71
71
|
end
|
72
72
|
end
|