diff --git a/src/PaytmManager.php b/src/PaytmManager.php index c950ae3..43233a2 100755 --- a/src/PaytmManager.php +++ b/src/PaytmManager.php @@ -16,7 +16,7 @@ public function with($driver){ } protected function createReceiveDriver(){ - $this->config = $this->app['config']['services.paytm']; + $this->config = $this->container['config']['services.paytm']; return $this->buildProvider( 'Paytm\JsCheckout\Providers\ReceivePaymentProvider', @@ -30,7 +30,7 @@ public function getDefaultDriver(){ public function buildProvider($provider, $config){ return new $provider( - $this->app['request'], + $this->container['request'], $config ); }