app->bind(StripePaymentGateway::class, function () { return new StripePaymentGateway(config('services.stripe.secret')); }); $this->app->bind(PaymentGateway::class, StripePaymentGateway::class); } }