Skip to content

Commit af116fd

Browse files
authored
Merge pull request #140 from davesmall9xb/patch-1
Fix letter case of fields sent to Sage Pay (VendorEMail and SendEMail).
2 parents 1ef9095 + 46a46df commit af116fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Message/Form/AuthorizeRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function getCryptData()
100100
}
101101

102102
if ($this->getVendorEmail() !== null) {
103-
$data['VendorEmail'] = $this->getVendorEmail();
103+
$data['VendorEMail'] = $this->getVendorEmail();
104104
}
105105

106106
if ($this->getEmailMessage() !== null) {
@@ -124,7 +124,7 @@ public function getCryptData()
124124
$sendEmail = static::SEND_EMAIL_BOTH;
125125
}
126126

127-
$data['SendEmail'] = $this->getSendEmail();
127+
$data['SendEMail'] = $this->getSendEmail();
128128
}
129129

130130
$data['SuccessURL'] = $this->getReturnUrl();

0 commit comments

Comments
 (0)