We will be off from 27/1 (Monday) to 31/1 (Friday) (GMT +7) for our Tet Holiday (Lunar New Year) in our country

Commit 8fc0d954 authored by alexandros's avatar alexandros Committed by attilak

Remove unused properties CheckoutDataBuilder.

parent 208c740f
...@@ -25,6 +25,7 @@ namespace Adyen\Payment\Gateway\Request; ...@@ -25,6 +25,7 @@ namespace Adyen\Payment\Gateway\Request;
use Magento\Payment\Gateway\Request\BuilderInterface; use Magento\Payment\Gateway\Request\BuilderInterface;
use Adyen\Payment\Observer\AdyenHppDataAssignObserver; use Adyen\Payment\Observer\AdyenHppDataAssignObserver;
use Adyen\Payment\Observer\AdyenBoletoDataAssignObserver;
class CheckoutDataBuilder implements BuilderInterface class CheckoutDataBuilder implements BuilderInterface
{ {
...@@ -121,11 +122,11 @@ class CheckoutDataBuilder implements BuilderInterface ...@@ -121,11 +122,11 @@ class CheckoutDataBuilder implements BuilderInterface
// Additional data for sepa direct debit // Additional data for sepa direct debit
if ($payment->getAdditionalInformation("ownerName")) { if ($payment->getAdditionalInformation("ownerName")) {
$request['paymentMethod']['sepa.ownerName']= $payment->getAdditionalInformation("ownerName"); $request['paymentMethod']['sepa.ownerName'] = $payment->getAdditionalInformation("ownerName");
} }
if ($payment->getAdditionalInformation("ibanNumber")) { if ($payment->getAdditionalInformation("ibanNumber")) {
$request['paymentMethod']['sepa.ibanNumber']= $payment->getAdditionalInformation("ibanNumber"); $request['paymentMethod']['sepa.ibanNumber'] = $payment->getAdditionalInformation("ibanNumber");
} }
if ($this->adyenHelper->isPaymentMethodOpenInvoiceMethod( if ($this->adyenHelper->isPaymentMethodOpenInvoiceMethod(
...@@ -177,8 +178,9 @@ class CheckoutDataBuilder implements BuilderInterface ...@@ -177,8 +178,9 @@ class CheckoutDataBuilder implements BuilderInterface
); );
$request['deliveryDate'] = $deliveryDate; $request['deliveryDate'] = $deliveryDate;
}
$order->setCanSendNewEmailFlag(true);
}
return $request; return $request;
} }
......
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