Пример #1
0
 /**
  * Constructor
  * @param array $aParams - parametersthat initiate API object
  * The available parameters are:
  * Required:
  *   store_id - id of the store
  *   store_password - unique generated password for the store
  * Optional:
  *   success_url - success callback url
  *   fail_url - failed callback url
  *   callback_url - failed callback url
  */
 function __construct($aParams)
 {
     $this->_paymentUrl = "https://www.egopay.com/payments/pay/form";
     parent::__construct($aParams);
     if (isset($aParams['image_url'])) {
         $this->setImageUrl($aParams['image_url']);
     }
 }