public function getMessage() { return Helper::handleCheckoutResult($this->data, $this->secret); }
public function getData() { $this->validate('customerId', 'amount', 'successUrl', 'cancelUrl'); $data['customerId'] = $this->getCustomerId(); $data['shopId'] = $this->getShopId(); $data['paymentType'] = $this->getPaymentType(); $data['currency'] = $this->getCurrency(); $data['orderDescription'] = $this->getDescription(); $data['orderReference'] = $this->getTransactionId(); $data['amount'] = $this->getAmount(); $data['successUrl'] = $this->getSuccessUrl(); $data['failureUrl'] = $this->getFailureUrl(); $data['cancelUrl'] = $this->getCancelUrl(); $data['confirmUrl'] = $this->getConfirmUrl(); $data['serviceUrl'] = $this->getServiceUrl(); $data['imageUrl'] = $this->getImageUrl(); $data['language'] = $this->getLanguage(); $data['requestFingerprintOrder'] = Helper::getRequestFingerprintOrder($data); $data['requestFingerprint'] = Helper::getRequestFingerprint($data, $this->getSecret()); return $data; }