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

Updates needed for PHP 8.2 #106

Open
timint opened this issue Mar 21, 2023 · 4 comments
Open

Updates needed for PHP 8.2 #106

timint opened this issue Mar 21, 2023 · 4 comments

Comments

@timint
Copy link

timint commented Mar 21, 2023

This library needs an update for PHP 8.2

Deprecated: Creation of dynamic property Svea\WebPay\WebService\GetAddress\GetAddresses::$request is deprecated
Deprecated: Creation of dynamic property Svea\WebPay\BuildOrder\CreateOrderBuilder::$orderType is deprecated
Creation of dynamic property Svea\WebPay\WebService\SveaSoap\SveaCreateOrderInformation::$PeppolId is deprecated
Deprecated: Creation of dynamic property Svea\WebPay\BuildOrder\CreateOrderBuilder::$campaignCode is deprecated
Deprecated: Creation of dynamic property Svea\WebPay\WebService\SveaSoap\SveaCreateOrderInformation::$CreatePaymentPlanDetails

https://php.watch/versions/8.2/dynamic-properties-deprecated

@timint
Copy link
Author

timint commented Sep 29, 2023

It's been 6 months. Any life signal?

@timint
Copy link
Author

timint commented Feb 7, 2024

Two more:

Deprecated: Creation of dynamic property Svea\WebPay\AdminService\AdminServiceResponse\GetOrdersResponse::$pendingReasons is deprecated
Deprecated: Creation of dynamic property Svea\WebPay\BuildOrder\RowBuilders\IndividualCustomer::$name is deprecated

11 months passed. Still no life signal?

@timint
Copy link
Author

timint commented Apr 4, 2024

Over a year passed, this is still a problem among clients.

Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$name is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 21
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$description is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 31
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$amount is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 41
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$vat is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 51
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$unit is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 71
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$sku is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 11
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\HostedOrderRowBuilder::$quantity is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedOrderRowBuilder.php on line 61
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\DirectPayment::$config is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedPayment.php on line 324
Deprecated: Creation of dynamic property Svea\WebPay\HostedService\Payment\DirectPayment::$countryCode is deprecated in ~/ext/sveawebpay/webpay/src/HostedService/Payment/HostedPayment.php on line 325
No valid paymentmethods.
Fatal error: Svea\WebPay\WebService\SveaSoap\SveaDoRequest::prettyPrintXml(): Argument #1 ($xml) must be of type string, null given, called in /home/h2mrgse/public_html/ext/sveawebpay/webpay/src/WebService/SveaSoap/SveaDoRequest.php on line 58 in ~/ext/sveawebpay/webpay/src/WebService/SveaSoap/SveaDoRequest.php on line 108

@timint
Copy link
Author

timint commented Apr 8, 2024

PHP 8.1 which is the last version supported by this library ended in nov 25th 2023. Users running this version (or lower) are no longer receiving security updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant