Skip to content

Commit

Permalink
Remove phone from payment creation request
Browse files Browse the repository at this point in the history
  • Loading branch information
lighe committed Apr 12, 2024
1 parent 0c1307b commit 07feadf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.0.10] - 2024-04-12

### Changed

- Stop sending mobile number when creating payments

## [v1.0.9] - 2024-03-22

### Fixed
Expand Down
3 changes: 1 addition & 2 deletions Service/Order/MakeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,7 @@ private function prepareData(Quote $quote, string $merchantAccountId): array
"name" => trim($quote->getBillingAddress()->getFirstname()) .
' ' .
trim($quote->getBillingAddress()->getLastname()),
"email" => $customerEmail,
"phone" => $quote->getBillingAddress()->getTelephone()
"email" => $customerEmail
]
];

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "truelayer/magento2",
"description": "TrueLayer extension for Magento 2",
"type": "magento2-module",
"version": "1.0.9",
"version": "1.0.10",
"license": [
"OSL-3.0",
"AFL-3.0"
Expand Down
2 changes: 1 addition & 1 deletion etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<default>
<payment>
<truelayer>
<version>1.0.9</version>
<version>1.0.10</version>
<model>TrueLayerFacade</model>
<title>TrueLayer</title>
<description>Pay using TrueLayer</description>
Expand Down

0 comments on commit 07feadf

Please sign in to comment.