Fatal Error with Amazon Pay plugin
-
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]
The topic ‘Fatal Error with Amazon Pay plugin’ is closed to new replies.