Closed spreadzz closed 2 years ago
I have this same issue, and am disabling Amazon Pay. I suspect a deeper issue, as my customer's subscription payment is failing for reasons I cannot diagnose with this error in the way.
Why isn't anyone replying? It's been 18 days since I posted this issue... I feel that the developers should look into this as it is a serious CRITICAL issue. We can not access order details to check if they are ok nor to refund people.
Thanks for the report @spreadzz, we are looking into the issue.
@spreadzz, question: in a recent update we added a new Amazon Pay SDK support, did you migrate (update) the keys already?
@kalessil if you are referring to updating the Amazon Pay keys from settings, then yes. We updated those and the error was still there. For now on the production website we are using v1 of the plugin which works ok, until the issue with v2 is fixed.
Hello,
It’s been 2-3 months with no reply again. The issue is still there. And yes as I answered your previous e-mail we updated the keys. This issue seems too happen when orders made through amazon are declined. WP can not open the order page. It’s ridiculous you guys haven’t fixed this yet.
I am going to file another complaint with WooCommerce.
On 28 Sep 2021, at 11:02, Vladimir Reznichenko @.***> wrote:
@spreadzz https://github.com/spreadzz, question: in a recent update we added a new Amazon Pay SDK support, did you migrate (update) the keys already?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/woocommerce/woocommerce-gateway-amazon-pay/issues/115#issuecomment-928952070, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABVP2VB456FRT4B6O2RAT33UEFZBXANCNFSM5CPROSUA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Describe the bug We can not access the single order page for orders made through Amazon Pay. The page is blank (grey) and only shows the title of the Order. On further investigation we found that on the PHP error log, the plugin throughs this error:
PHP Fatal error: Uncaught Exception: Access to OffAmazonPayments.GetBillingAgreementDetails is denied in /var/www/commentary.org/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/legacy/class-wc-gateway-amazon-payments-advanced-subscriptions-legacy.php:428 nStack trace:n#0 /var/www/commentary.org/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/legacy/class-wc-gateway-amazon-payments-advanced-subscriptions-legacy.php(369): WC_Gateway_Amazon_Payments_Advanced_Subscriptions_Legacy->handle_generic_api_response_errors() n#1 /var/www/commentary.org/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/legacy/class-wc-gateway-amazon-payments-advanced-subscriptions-legacy.php(817): WC_Gateway_Amazon_Payments_Advanced_Subscriptions_Legacy->get_billing_agreement_details() n#2 /var/www/commentary.org/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/includes/legacy/class-wc-gateway-amazon-payments-advanced-subscriptio
To Reproduce Steps to reproduce the behavior:
Screenshots
Expected behavior It should open and show the single order page same as the other plugins/
Isolating the problem (mark completed items with an [x]):
WordPress Environment