|
@@ -153,7 +153,7 @@ discard block |
|
|
block discarded – undo |
|
153
|
153
|
|
|
154
|
154
|
if ($paymentMethod === 'balance' && empty($user->payment_method) && ($user->status == 'setting-up')) { |
|
155
|
155
|
// Activate a users membership with a payment method of balance |
|
156
|
|
- $user->payment_method = 'balance'; |
|
|
156
|
+ $user->payment_method = 'balance'; |
|
157
|
157
|
$user->secondary_payment_method = null; |
|
158
|
158
|
$user->payment_day = Carbon::now()->day; |
|
159
|
159
|
$user->save(); |
|
@@ -162,7 +162,7 @@ discard block |
|
|
block discarded – undo |
|
162
|
162
|
} |
|
163
|
163
|
|
|
164
|
164
|
if ($paymentMethod === 'balance' && $user->payment_method == 'gocardless-variable') { |
|
165
|
|
- $user->payment_method = 'balance'; |
|
|
165
|
+ $user->payment_method = 'balance'; |
|
166
|
166
|
$user->secondary_payment_method = 'gocardless-variable'; |
|
167
|
167
|
$user->save(); |
|
168
|
168
|
} |
Please login to merge, or discard this patch.