Skip to content

Commit

Permalink
Fix Opayo payments not sending customer email address
Browse files Browse the repository at this point in the history
  • Loading branch information
engram-design committed Apr 9, 2024
1 parent e7f74e8 commit 67b5ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/integrations/payments/Opayo.php
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,7 @@ private function _getPayload(string $opayoSessionKey, string $opayoTokenId, Subm

$billingName = $this->getFieldSetting('billingDetails.billingName');
$billingAddress = $this->getFieldSetting('billingDetails.billingAddress');
$billingEmail = $this->getFieldSetting('billingDetails.billingEmail');
$payload['customerEmail'] = $this->getFieldSetting('billingDetails.billingEmail');

if ($billingName) {
$integrationField = new IntegrationField();
Expand Down

0 comments on commit 67b5ec3

Please sign in to comment.