Skip to content

Commit

Permalink
Merge pull request #140 from davesmall9xb/patch-1
Browse files Browse the repository at this point in the history
Fix letter case of fields sent to Sage Pay (VendorEMail and SendEMail).
  • Loading branch information
judgej committed Aug 19, 2019
2 parents 1ef9095 + 46a46df commit af116fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Message/Form/AuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function getCryptData()
}

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

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

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

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

0 comments on commit af116fd

Please sign in to comment.