• Resolved eveslage

    (@eveslage)


    I followed the discussions about pay upon invoice / rate pay. We just upgraded to version 2.0.3 but we are still getting this error message:

    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.

    Any chance we do something wrong?

    We see this error message in the apache log:

    [Sat Mar 18 12:57:27.775718 2023] [php7:error] [pid 1536448] [client 91.65.93.156:41516] PHP Fatal error:  Uncaught Error: Class 'WooCommerce\\PayPalCommerce\\WcGateway\\Gateway\\PayUponInvoice\\PayUponInvoice' not found in /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php:995\nStack trace:\n#0 /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(117): WooCommerce\\PayPalCommerce\\WcGateway\\WCGatewayModule::WooCommerce\\PayPalCommerce\\WcGateway\\{closure}()\n#1 /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php(56): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer->invokeFactory()\n#2 /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php(53): WooCommerce\\PayPalCommerce\\Vendor\\Dhii\\Container\\DelegatingContainer->get()\n#3 /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingConta in /var/www/xxx/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/services.php on line 995, referer: https://xxx/produkt-kategorie/dekorieren/gartendeko/?gclid=Cj0KCQjwwtWgBhDhARIsAEMcxeC2cR1SiyDMfuLiPmhkbptCFhKFPVhdg6X4b75tf_Nma3qOKB2fc50aAtbEEALw_wcB
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @eveslage,

    There isn’t much you could do wrong, as the plugin automatically configures itself and prevents Pay upon Invoice from being enabled when something was not set up right.

    Without seeing more details about your site, it’s difficult to tell. But the DEVICE_DATA_ NOT_AVAILABLE could occur in the previous version 2.0.2 when the FraudNet library failed to load under certain circumstances.
    This was improved in 2.0.3, but the error from your apache log may be related to this issue.

    To learn more about this error and your site setup, could you please share a copy of your system report with the support team from here?: https://woocommerce.com/document/woocommerce-paypal-payments/#get-help
    Please also include a link to this thread.
    Thanks!

    Kind regards,
    Niklas

    Thread Starter eveslage

    (@eveslage)

    Done, hope we can fix this issue.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    Since we did not receive any response or follow-up questions from you, we will assume you got this working to your requirements. If you still have any more questions for us, please open a new thread, because we will mark this one as resolved.

    Kind regards,
    Joost

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘getting an error using pay upon invoice / rate pay’ is closed to new replies.