Sonata\Component\Payment\Ogone\OgonePayment::getFormParameters PHP Метод

getFormParameters() защищенный Метод

Returns form parameters for sendbank.
protected getFormParameters ( Sonata\Component\Order\OrderInterface $order ) : array
$order Sonata\Component\Order\OrderInterface
Результат array
    protected function getFormParameters(OrderInterface $order)
    {
        return array('PSPID' => $this->getOption('pspid'), 'orderId' => $order->getReference(), 'amount' => $order->getTotalInc() * 100, 'currency' => $order->getCurrency()->getLabel(), 'language' => $order->getLocale(), 'CN' => $order->getBillingName(), 'EMAIL' => $order->getBillingEmail(), 'ownerZIP' => $order->getBillingPostcode(), 'owneraddress' => $this->getAddress($order), 'ownercty' => $order->getBillingCity(), 'ownertelno' => $order->getBillingPhone() ?: $order->getBillingMobile(), 'homeurl' => $this->getOption('home_url'), 'catalogurl' => $this->getOption('catalog_url'), 'COMPLUS' => '', 'PARAMPLUS' => 'bank=' . $this->getCode(), 'PARAMVAR' => '', 'PM' => 'CreditCard', 'WIN3DS' => 'MAINW', 'PMLIST' => 'VISA;MasterCard;CB', 'PMListType' => 2, 'accepturl' => $this->generateAbsoluteUrlFromOption('url_callback', $order), 'declineurl' => $this->generateAbsoluteUrlFromOption('url_callback', $order), 'exceptionurl' => $this->generateAbsoluteUrlFromOption('url_return_ko', $order), 'cancelurl' => $this->generateAbsoluteUrlFromOption('url_return_ko', $order), 'operation' => $this->getOperation());
    }