• Resolved kfnashuka

    (@kfnashuka)


    The screen does not move to the screen of payment completion (payment is not completed).

    ※The amazonpay plugin is currently disabled as it is running in a production environment.

    Phenomenon:
    When I execute a payment using Amazonpay
    it doesn’t move to the screen of payment completion.
    It moves to the image stored on WordPress and does not complete the payment process.

    It was working fine at the end of August.

    We think this may be due to an update of WordPress.

    The current version of WooCommerce Amazon Pay and WordPress may not be compatible.
    WordPress is not compatible with the current version of WooCommerce Amazon Pay?

    If so.
    When will WooCommerce Amazon Pay be
    When will WooCommerce Amazon Pay be updated?

    Version information:

    WordPress version 6.3.2
    Current Theme: Avada (version 7.11.2)
    Current Plugin: WooCommerce Amazon Pay (version 2.5.1)
    PHP version 7.4.33
    WooCommerce One Page Checkout Version 2.7.0

    Error Information:E_ERROR が /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php ファイルの 449 行目で発生しました。 エラーメッセージ: Uncaught Exception: Unable to load file: in /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php:449
    Stack trace: 0 /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php(390): Amazon\Pay\API\Client->setupRSA() 1 /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php(346): Amazon\Pay\API\Client->createSignature(‘GET’, ‘https://pay-api…’, Array, Array, NULL, ‘20231031T100608…’) 2 /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-amazon-payments-advanced/vendor/amzn/amazon-pay-api-sdk-php/Amazon/Pay/API/Client.php(510): Amazon\Pay\API\Client->getPostSignedHeaders(‘GET’, ‘https://pay-api…’, Array, NULL, Array) 3 /home/c-onetec/www/wp/wizlaser/wp-content/plugins/woocommerce-gateway-a

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Christian

    (@christian1983)

    Hey @kfnashuka,

    Hope you are doing well!

    I just made a test with same plugins and theme and I was not able to reproduce the issue.

    try to check the following link?conflict test?on a Staging site, could be some plugin you are using. We need to isolate the problem first.

    If you can’t find the issue, please contact us at WooCommerce.com > My Account > Support. You may need to create an account before you can access that page.

    Please include a link to this forum thread, so that we can keep track of what’s already been done.

    We will be able to help you further there.

    Best,
    Christian

    Thread Starter kfnashuka

    (@kfnashuka)

    Thanks for the great support!

    I contacted support immediately.

    I followed the directions and did the plugin conflict.

    I disabled Yoast SEO,
    Amazon pay There was a conversion to the page that transitions to the completion of the payment.

    Until now, only the logo image was displayed,
    Now it redirects to https://c-onetec.com/wizlaser/wizlaser/
    However, the page is now redirected to .

    However, I have to go to the page to complete the payment (order confirmation).
    Amazon pay does not seem to have received the data of the order.

    I would like to be able to use Amazonpay.

    Could it be possible to
    I am using onepagechekout.
    It may be due to the fact that there is no order confirmation page.

    Plugin Support Christian

    (@christian1983)

    Hey @kfnashuka,

    Did you tried to deactivate the One Page checkout plugin?

    did you contact WooCommerce.com Support? From there we are going to be able to help you more privately.

    Let us know,

    Best,
    Christian

    Thread Starter kfnashuka

    (@kfnashuka)

    Hello @christian1983

    Just a moment ago,
    I contacted Woo support.
    They said they will get back to me via email.

    I will be back here when it is resolved.
    I would like to share it with you all.

    Thank you very much for your cooperation!

    Plugin Support Christian

    (@christian1983)

    This will fix the compatibility in some cases for Amazon Pay and One Page Checkout.

    add_filter('woocommerce_amazon_pa_create_checkout_session_params', 'custom_amazon_pay_redirect');
    
    function custom_amazon_pay_redirect($payload) {   
        // Specify here the URL you want to redirect to.
        // Example: To redirect to a specific section of the homepage
        $custom_redirect_url = home_url('/'); // change this part   
        // Add an additional query parameter to the URL
        $custom_redirect_url = add_query_arg('amazon_payments_advanced', 'true', $custom_redirect_url);   
        // Modify the payload
        $payload['webCheckoutDetails']['checkoutReviewReturnUrl'] = add_query_arg('amazon_login', '1', $custom_redirect_url);
        $payload['webCheckoutDetails']['checkoutResultReturnUrl'] = add_query_arg('amazon_return', '1', $custom_redirect_url);
        return $payload; 
    }

    Ticket will be marked as solved

    Best,
    Christian

    • This reply was modified 11 months, 3 weeks ago by Christian.
    • This reply was modified 11 months, 3 weeks ago by Christian.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘The screen does not move to the screen of payment completion’ is closed to new replies.