/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('PaymentStatus'); $this->data = array('payment_id' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('GetPaymentNotification'); $this->data = array('notification_token' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('SetRejectedByPayer'); $this->data = array('payment_id' => '', 'text' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('UpdatePaymentNotificationUrl'); $this->data = array('url' => '', 'api_version' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('SetBillExpired'); $this->data = array('bill_id' => '', 'text' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Iniciamos la variable apiUrl con la url del servicio. $this->apiUrl = Khipu::getUrlService('CreatePaymentPage'); // Iniciamos el arreglo $data con los valores que requiere el servicio. $this->data = array('receiver_id' => $receiver_id, 'subject' => '', 'body' => '', 'amount' => 0, 'custom' => '', 'notify_url' => '', 'return_url' => '', 'cancel_url' => '', 'bank_id' => '', 'expires_date' => '', 'transaction_id' => '', 'picture_url' => '', 'payer_email' => ''); }
/** * Iniciamos el servicio identificando al cobrador. */ function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Cargamos el objeto KhipuRecipientes para adjuntar destinatarios. $this->recipients = new KhipuRecipients(); // Iniciamos la variable apiUrl con la url del servicio. $this->apiUrl = Khipu::getUrlService('CreateEmail'); // Iniciamos el arreglo $data con los valores que requiere el servicio. $this->data = array('receiver_id' => $receiver_id, 'subject' => '', 'body' => '', 'transaction_id' => '', 'custom' => '', 'notify_url' => '', 'return_url' => '', 'cancel_url' => '', 'pay_directly' => 'true', 'send_emails' => 'true', 'expires_date' => '', 'picture_url' => ''); }
/** * Iniciamos el servicio */ public function __construct($receiver_id, $secret) { parent::__construct($receiver_id, $secret); // Asignamos la url del servicio $this->apiUrl = Khipu::getUrlService('ReceiverBanks'); }