public function renderButton()
    {
        return $this->render('pay-button', [
            'widget' => $this,
            'request' => $this->request,
            'depositRequest' => new DepositRequest([
                'id' => $this->request->id,
                'amount' => $this->depositForm->amount,
                'currency' => $this->depositForm->currency,
                'merchant' => $this->getMerchantName(),
                'finishUrl' => $this->depositForm->finishUrl,
            ])
        ]);
    }
public function renderButton()
    {
        return $this->render('pay-button', [
            'widget' => $this,
            'request' => $this->request,
            'depositRequest' => new DepositRequest([
                'id' => $this->request->id,
                'amount' => $this->depositForm->amount,
                'currency' => $this->depositForm->currency,
                'merchant' => $this->getMerchantName(),
                'finishUrl' => $this->depositForm->finishUrl,
            ])
        ]);
    }
public function renderButton ( ) { return $ this -> render ( 'pay-button' , [ 'widget' => $ this , 'request' => $ this -> request , 'depositRequest' => new DepositRequest ( [ 'id' => $ this -> request -> id , 'amount' => $ this -> depositForm -> amount , 'currency' => $ this -> depositForm -> currency , 'merchant' => $ this -> getMerchantName ( ) , 'finishUrl' => $ this -> depositForm -> finishUrl , ] ) ] ) ; }
Renders the payment button.

@return string
Renders the payment button .