We will work on Apr 26th (Saturday) and will be off from Apr 30th (Wednesday) until May 2nd (Friday) for public holiday in our country

Commit 91e097a4 authored by cyattilakiss's avatar cyattilakiss Committed by Aleffio

Single check

Co-Authored-By: default avatarAleffio <gigendh@gmail.com>
parent 264b2264
...@@ -72,7 +72,7 @@ class TransactionPosCloudSync implements ClientInterface ...@@ -72,7 +72,7 @@ class TransactionPosCloudSync implements ClientInterface
public function placeRequest(\Magento\Payment\Gateway\Http\TransferInterface $transferObject) public function placeRequest(\Magento\Payment\Gateway\Http\TransferInterface $transferObject)
{ {
$request = $transferObject->getBody(); $request = $transferObject->getBody();
if (!empty($request['response']) && !empty($request['response']['SaleToPOIResponse']['PaymentResponse'])) { if (!empty($request['response']['SaleToPOIResponse']['PaymentResponse'])) {
$paymentResponse = $request['response']['SaleToPOIResponse']['PaymentResponse']; $paymentResponse = $request['response']['SaleToPOIResponse']['PaymentResponse'];
//Initiate has already a response //Initiate has already a response
return $paymentResponse; return $paymentResponse;
......
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