Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove phone from payment creation request #12

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading