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

AmazonCleanUpIncompleteSesssions: Unable to process checkoutSessionId #46

Open
magento360 opened this issue Jan 27, 2025 · 3 comments
Open

Comments

@magento360
Copy link

Hi,

We are getting issue on log on live website:
main.ERROR: AmazonCleanUpIncompleteSesssions: Unable to process checkoutSessionId: 2fa34768-2bfd-4d26-8071-17652d1846a3. Deprecated Functionality: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in
/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php on line 45 []

amzn/amazon-pay-api-sdk-php:2.6.7
amzn/amazon-pay-magento-2-module:5.18.0
magento: 2.4.7-p3

Please check this issue on priority.

@mkreusch
Copy link

Hi @magento360 👋

You should probably raise this at https://github.com/amzn/amazon-payments-magento-2-plugin/
The behavior vor the SDK here is correct - the region field passed from the integration is required to be a string.

Best regards
Marcus

@magento360
Copy link
Author

We are getting issue on log on live website but order process fine with amazon pay, checkout page worked fine, only issue appears on log file, although every configuration fine:
[1] => Array
(
[public_key_id] => public_key_id_here
[private_key] => -----BEGIN PRIVATE KEY-----key_here -----END PRIVATE KEY-----
[sandbox] => 1
[region] => de
)

We have added this on: amzn/amazon-payments-magento-2-plugin#1261

@mkreusch
Copy link

That makes sense!
The log entry is from a cleanup cronjob and should not affect storefront behavior.

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

2 participants