• Resolved elankathir

    (@elankathir)


    Hi Team,

    After updating the latest version of Razorpay for WooCommerce Plugins. We are started receiving errors as a Critical Issue on the payment page.

    Can you help us to resolve this issue as early as possible?

    • This topic was modified 3 years ago by elankathir.
Viewing 7 replies - 1 through 7 (of 7 total)
  • dbharath7

    (@dbharath7)

    Yes. I too see an error after this plugin got updated on Nov 4th.
    This is impacting order payments at our site.

    Downside of enabling auto upgrade of plugins.

    Stack trace, after enabling debug.

    Fatal error: Uncaught Error:
    Call to a member function get_order_key() on bool in /wp-content/plugins/woo-razorpay/woo-razorpay.php:521
    Stack trace: #0 /wp-content/plugins/woo-razorpay/woo-razorpay.php(589): WC_Razorpay->getRedirectUrl(‘365’)
    #1 /wp-content/plugins/woo-razorpay/woo-razorpay.php(629):
    WC_Razorpay->getDefaultCheckoutArguments(Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #2 /wp-content/plugins/woo-razorpay/woo-razorpay.php(569):
    WC_Razorpay->getCheckoutArguments(Object(Automattic\WooCommerce\Admin\Overrides\Order), Array)
    #3 /wp-content/plugins/woo-razorpay/woo-razorpay.php(438):
    WC_Razorpay->generate_razorpay_form(10385)
    #4 /wp-includes/class-wp-hook.php(303):
    WC_Razorpay->receipt_page(10385)
    #5 /wp-content/plugins/woo-razorpay/woo-razorpay.php on line 521`

    • This reply was modified 3 years ago by dbharath7.
    • This reply was modified 3 years ago by dbharath7.
    rahuljain1994

    (@rahuljain1994)

    I am also getting the same error
    I installed version 2.7.2 https://www.ads-software.com/plugins/woo-razorpay/advanced/
    It worked for me

    Plugin Author Chetan

    (@chetangn)

    Hi,

    Can you please provide us with some more information on this issue!

    1. WordPress version
    2. Woocommerce version
    3. Are you using any custom plugin for custom order id generation? For ex: wc_2021_2xx

    Thanks.

    iamvarung

    (@iamvarung)

    I have the same issue too

    Fatal error: Uncaught Error: Call to a member function get_order_key() on bool in /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php:521 Stack trace: #0 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php(589): WC_Razorpay->getRedirectUrl('313') #1 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php(629): WC_Razorpay->getDefaultCheckoutArguments(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #2 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php(569): WC_Razorpay->getCheckoutArguments(Object(Automattic\WooCommerce\Admin\Overrides\Order), Array) #3 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php(438): WC_Razorpay->generate_razorpay_form(28313) #4 /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-includes/class-wp-hook.php(303): WC_Razorpay->receipt_page( in /home/340028.cloudwaysapps.com/gumeqvpjhj/public_html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 521
    There has been a critical error on this website.

    WordPress Version – 5.8.2
    Woocommerce Version – 5.9.0
    Not using any custom plugin for custom order generation.

    Plugin Author Chetan

    (@chetangn)

    Hi @elankathir,

    We had fixed this issue on the latest version 2.8.1. So kindly request you to update the plugin and test it once.

    Thanks.

    Thread Starter elankathir

    (@elankathir)

    Dear @chetangn,

    It’s working fine with the latest version 2.8.1.

    Thank you.

    Plugin Author Chetan

    (@chetangn)

    Thanks for the confirmation @elankathir

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Error in latest version –’ is closed to new replies.