From 78db89b166240feff622c053373216748dbabadb Mon Sep 17 00:00:00 2001 From: "P.R. van Puijenbroek" Date: Mon, 24 Apr 2017 16:58:31 +0200 Subject: [PATCH] Changed 'disable_send_mail' to 'disable_send_email' to comply to the official MultiSafepay API documentation (https://www.multisafepay.com/documentation/doc/API-Reference/) --- src/Message/RestPurchaseRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Message/RestPurchaseRequest.php b/src/Message/RestPurchaseRequest.php index 85028f7..0190e23 100644 --- a/src/Message/RestPurchaseRequest.php +++ b/src/Message/RestPurchaseRequest.php @@ -337,7 +337,7 @@ public function setCloseWindow($value) */ public function getSendMail() { - return $this->getParameter('disable_send_mail'); + return $this->getParameter('disable_send_email'); } /** @@ -351,7 +351,7 @@ public function getSendMail() */ public function setSendMail($value) { - return $this->setParameter('disable_send_mail', $value); + return $this->setParameter('disable_send_email', $value); } /** @@ -411,7 +411,7 @@ protected function getPaymentData() public function getCustomerData() { $data = array( - 'disable_send_mail' => $this->getSendMail(), + 'disable_send_email' => $this->getSendMail(), 'locale' => $this->getLocale(), );