• Resolved stepfaul

    (@stepfaul)


    Hi, after enabling this plugin and attempting to pay by Amazon Pay from either the cart or checkout I am seeing this error after being redirected to Amazon Pay and then selecting the Continue to checkout button from the Amazon Pay website I am presented with the following error upon return to my site:

    `Fatal Error
    Line 171
    Message Uncaught TypeError: Argument 4 passed to WooCommerce\PayPalCommerce\Subscription\SubscriptionModule::display_saved_paypal_payments() must be of the type string, null given, called in /var/www/littletigergifts.co.uk/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/class-subscriptionmodule.php on line 83 and defined in /var/www/littletigergifts.co.uk/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/class-subscriptionmodule.php:171 Stack trace: #0 /var/www/littletigergifts.co.uk/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/class-subscriptionmodule.php(83): WooCommerce\PayPalCommerce\Subscription\SubscriptionModule->display_saved_paypal_payments() #1 /var/www/littletigergifts.co.uk/wp-includes/class-wp-hook.php(292): WooCommerce\PayPalCommerce\Subscription\SubscriptionModule->WooCommerce\PayPalCommerce\Subscription\{closure}() #2 /var/www/littletigergifts.co.uk/wp-includes/plugin.php(212): WP_Hook->apply_filters() #3 /var/www/
    File /var/www/littletigergifts.co.uk/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/class-subscriptionmodule.php`

    If I disable Amazon Pay things are ok but I don’t want to do this. This will be the third time I have attempted to enable this plugin and test and each time there have been show stopping problems.

    I appreciate the plugin is in active development but WooCommerce are not doing themselves any favours by enabling message on the WordPress plugin page for the older PayPal plugins prompting to enable PayPal Payments when in my view it is still buggy. In addition to this I have received emails from WooCommerce as well so it seems that this plugin is being heavily promoted.

    I have since disabled the plugin as I have not got Amazon Pay setup on my staging site yet to test further.

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @stepfaul

    Thank you for reaching out to us, we were not yet aware of this issue and want to test this for ourselves to see what dependencies are causing this problem. I am waiting for an Amazon sandbox account to be provided in order to test this and find a possible solution together with our developer.

    If you have any clues that could help us out, please let us know.
    Once we have anything that could help you resolved this issue, we will let you know.
    Kind regards,
    Joost

    Thread Starter stepfaul

    (@stepfaul)

    Thanks @joostvandevijver

    I have since managed to configure Amazon Pay on my staging site – https:// staging.littletigergifts co uk/ and can confirm that the issue still occurs. If I disable the option under WooCommerce > Settings > Payments the issue still occurs. The only way to resolve things is to disable the PayPal Payments Plugin from within plugins.

    I have left the staging site with plugin enabled so you can have a test. The site is running the latest version of WooCommerce (5.5.1) but I have not upgraded to WP 5.8 yet so it is running 5.7.2 All plugins are the latest versions.

    To reproduce the issue, select the Amazon Pay button from either the cart or checkout, login to Amazon Pay, confirm payment details and select the button to continue with payment – this will then attempt to take you back to my site where upon return the fatal error page is displayed.

    Hope this helps.

    Steve.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hi Steve,

    yes, I tested it now on your staging website and do get the same error. We need to check this on our WP testing environment to see what error messages the backend gives us back and test possible solutions. I will check this with our developer and see what timeline we can provide you for a possible fix. The next release is already scheduled for next week, so it will not be included in that… just so you know.

    I’ve added your ticket to our dev ticket, so you should be updated once we have anything on this release date.

    Thanks again for letting us know about this issue. We hope to resolve it asap.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @stepfaul

    we have been trying to get our Amazon account to work in order to test this issue, but this seems to take a bit longer than expected. In order to check this issue now, I want to ask you if it would be possible to use your staging site for this purpose.

    If this is an option, please open a support ticket with us as described here, so we can get the access details securely: https://paypal.inpsyde.com/docs/how-to-request-support-via-widget-on-the-website/

    Kind regards,
    Joost

    Thread Starter stepfaul

    (@stepfaul)

    `Hello @stepfaul

    we have been trying to get our Amazon account to work in order to test this issue, but this seems to take a bit longer than expected. In order to check this issue now, I want to ask you if it would be possible to use your staging site for this purpose.

    If this is an option, please open a support ticket with us as described here, so we can get the access details securely: https://paypal.inpsyde.com/docs/how-to-request-support-via-widget-on-the-website/

    Kind regards,
    Joost`

    Hi @joostvandevijver

    I have opened a support ticket ref PPC-155 as requested.

    Kind regards

    Steve.

    Plugin Support Andreas W.

    (@aweissinpsyde)

    We will handle this issue in the ticket PPC-155 and close this one here

    Thread Starter stepfaul

    (@stepfaul)

    @niklasinpsyde Apologies for the delay in responding as I have been away for a couple of days. I have just tested a full end to end transaction on my staging site using Amazon Pay and all worked as expected.

    Thanks very much for looking into this!

    Kind regards

    Steve.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Thank you both for helping us get our product to improve and verify our fix!
    Don’t hesitate to support us by leaving a review here.

    Have a nice weekend,
    Joost

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Fatal Error with Amazon Pay plugin’ is closed to new replies.