Error on Pay upon invoice

[ad_1]

When Pay upon invoice is chosen everything filled out and click on buy it says:
“DEVICE_DATA_NOT_AVAILABLE Device Data is not available for processing this order. The PayPal-Client-Metadata-Id header value sent during Create Order api call is either missing or incorrect or there was an error in collecting required data. Please verify if appropriate value for PayPal-Client-Metadata-Id header is being sent during ‘Create Order’ api call. Please note this error only applies to payment_source.pay_upon_invoice at the moment.”

The protocol in the plugin shows the following:
CRITICAL Uncaught Error: Call to a member function meta_exists() on null in /wp-content/plugins/woocommerce/includes/class-wc-checkout.php:1346
Stack trace:
#0 /wp-content/plugins/woocommerce/includes/class-wc-checkout.php(234): WC_Checkout->get_value()
#1 /wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php(332): WC_Checkout->get_checkout_fields()
#2 /wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice->WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice{closure}()
#3 /wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-payment-gateway.php(318): apply_filters()
#5 /wp-content/plugins/woocommerce/includes/class-wc-checkout.php in Line 1346

The setting in paypal and the connection seems to be fine, just in the Error Log of PayPal Developer Dashboard says: “The requested action could not be performed, semantically incorrect, or failed business validation.”

Any idea how I can fix it?

  • This topic was modified 1 hour, 53 minutes ago by meissheiten.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer