Пример #1
0
 /**
  * @param EcommercePaymentRequest $paymentRequest
  * @return string url
  */
 public function render(EcommercePaymentRequest $paymentRequest)
 {
     $parameters = $paymentRequest->toArray();
     $parameters[PaymentRequest::SHASIGN_FIELD] = $paymentRequest->getShaSign();
     return $paymentRequest->getOgoneUri() . '?' . http_build_query($parameters);
 }
 /**
  * @return string
  */
 protected function getOgoneUri()
 {
     return $this->paymentRequest->getOgoneUri();
 }