diff --git a/src/Zarinpal/Zarinpal.php b/src/Zarinpal/Zarinpal.php index ff04d539..b98c07e0 100644 --- a/src/Zarinpal/Zarinpal.php +++ b/src/Zarinpal/Zarinpal.php @@ -46,10 +46,8 @@ class Zarinpal extends PortAbstract implements PortInterface */ protected $zarinGateUrl = 'https://www.zarinpal.com/pg/StartPay/$Authority/ZarinGate'; - public function __construct($config, $port) + public function boot() { - parent::__construct($config, $port); - $this->setServer(); }