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

[6.5.x] PPI-1076 - Fix visibility of Express Checkout order ID #125

Merged
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 8.6.6
# 8.7.0
- PPI-1044 - Improved compatibility of Vaulting with Store API usage and Headless setups
- PPI-1076 - Improved information passing in Express Checkout API calls

# 8.6.5
- PPI-1025 - Improves the performance of the installment banner in the Storefront
Expand Down
3 changes: 2 additions & 1 deletion CHANGELOG_de-DE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 8.6.6
# 8.7.0
- PPI-1044 - Verbesserte Kompatibilität von Vaulting mit der Store-API und Headless
- PPI-1076 - Verbesserte Informationsweitergabe in Express Checkout-API-Aufrufen

# 8.6.5
- PPI-1025 - Verbessert die Performance des Ratenzahlungsbanners in der Storefront
Expand Down
5 changes: 1 addition & 4 deletions src/Checkout/ExpressCheckout/ExpressCheckoutData.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
#[Package('checkout')]
class ExpressCheckoutData extends Struct
{
private string $paypalOrderId;

public function __construct(string $paypalOrderId)
public function __construct(protected readonly string $paypalOrderId)
{
$this->paypalOrderId = $paypalOrderId;
}

public function getPaypalOrderId(): string
Expand Down