v1.7 RC.2

This commit is contained in:
carodej
2020-07-21 09:27:57 +02:00
parent b67297f160
commit 6f6115d5cb
10 changed files with 38 additions and 13 deletions

View File

@@ -128,6 +128,11 @@ class PaymentMethodsController extends Controller
// Get user
$user = Auth::user();
// Check if is demo
if (is_demo($user->id)) {
return response('Done', 201);
}
// Register new payment method
$this->stripe->registerNewPaymentMethod($request, $user);