Commit 0e546ba3 authored by GiorgosK's avatar GiorgosK

Add more details to IssueNewTicketResult order data

parent 28246b83
...@@ -44,6 +44,10 @@ class WinbankPaymentRedirectForm extends BasePaymentOffsiteForm { ...@@ -44,6 +44,10 @@ class WinbankPaymentRedirectForm extends BasePaymentOffsiteForm {
"TranTicket" => $result->IssueNewTicketResult->TranTicket, "TranTicket" => $result->IssueNewTicketResult->TranTicket,
"Timestamp" => $result->IssueNewTicketResult->Timestamp, "Timestamp" => $result->IssueNewTicketResult->Timestamp,
"MinutesToExpiration" => $result->IssueNewTicketResult->MinutesToExpiration, "MinutesToExpiration" => $result->IssueNewTicketResult->MinutesToExpiration,
"PosId" => $config["pos_id"],
"AcquirerId" => $config["acquirer_id"],
"Parameters" => '',
"payment_gateway" => $payment->getPaymentGateway()->id(),
]); ]);
$order->save(); $order->save();
...@@ -67,8 +71,6 @@ class WinbankPaymentRedirectForm extends BasePaymentOffsiteForm { ...@@ -67,8 +71,6 @@ class WinbankPaymentRedirectForm extends BasePaymentOffsiteForm {
]; ];
$form = $this->buildRedirectForm($form, $form_state, $config['paycenter_url'], $data); $form = $this->buildRedirectForm($form, $form_state, $config['paycenter_url'], $data);
//temporary
unset($form['#attached']['library']);
return $form; return $form;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment