/** * Constructor * * @param cbpaidGatewayAccount $account */ public function __construct( $account ) { parent::__construct( $account ); // Set gateway URLS for $this->pspUrl() results: first 2 are the main hosted payment page posting URL, next ones are gateway-specific: $this->_gatewayUrls = array( 'psp+normal' => $this->getAccountParam( 'psp_normal_url' ), 'psp+test' => $this->getAccountParam( 'psp_test_url' ), 'link+normal' => $this->getAccountParam( 'psp_link_url' ), 'link+test' => $this->getAccountParam( 'psp_link_test_url' ), ); }
/** * Constructor * * @param cbpaidGatewayAccount $account */ public function __construct($account) { parent::__construct($account); $this->private_key = $this->getAccountParam('privatekey'); $this->window_key = $this->getAccountParam('apikey'); $this->api_key = $this->getAccountParam('apiuserapikey'); // Set gateway URLS for $this->pspUrl() results: first 2 are the main hosted payment page posting URL, next ones are gateway-specific: $this->reason = ''; //Quickpay do not use separate API urls $this->formurl = "#"; // $this->formurl = $this->getNotifyUrl( $paymentBasket ); /* $this->_gatewayUrls = array( 'psp+normal' => $this->formurl, 'psp+test' => $this->formurl, 'psp+api' => $this->formurl ); */ }