• Resolved Marco1970

    (@marco1970)


    Hi,

    can you please fix this code of yours, boating the error log, and probably causing issues:

    [31-Mar-2020 15:00:34 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_id() on bool in /…/wp-content/plugins/woocommerce-quickpay/woocommerce-quickpay.php:975
    Stack trace:…

    TY

    m

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author PerfectSolution

    (@perfectsolution)

    @marco1970 – It sounds like you have som incompatibility issues. If the order object is NULL in the callback handler, this means that WooCommerce was unable to find the order based on the data returned from the QuickPay callback. This means. that the plugin is unable to process the order payments properly on the shop end.

    Do you have any plugins modifying either the transaction data sent to QuickPay or maybe the order ids?

    Hi

    I have the same problem:

    Uncaught Exception: Validation error
    branding_id: is invalid in /customers/2/7/3/karenloy.dk/httpd.www/wp-content/plugins/woocommerce-quickpay/classes/api/woocommerce-quickpay-api.php on line 245

    I have looked in to the above possibility, but had no luck.

    Do you have another suggestion/solution)

    Thanks, Susanne

    Plugin Author PerfectSolution

    (@perfectsolution)

    @marco1970 – we have made som improvements to the callback handler which should avoid these types of errors if the module is unable to locate the order based on the callback data.

    @susannehoff – this is not related to the topic, but the problem is caused by an incorrect branding ID typed in your plugin settings. Please consult the QuickPay support if you’re en doubt of which branding ID to use. You can also leave the field empty to use the default branding window.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error in your code…’ is closed to new replies.