• Hi, we are getting this error message whenever we get past the checkout page
    Sorry, this order is invalid and cannot be paid for. on https://greentonic.net

    We have used your plugin on other websites and is working well and we have used all the same plugins and theme, but we keep getting this error message, we are using the current woocommerce and redsys plugin.

    Thanks

Viewing 15 replies - 1 through 15 (of 21 total)
  • Plugin Author Jose Conti

    (@jconti)

    Hi,

    Redsys and Plugin must be both on test or live mode, and remember that live and test mode has different SHA256.

    Can the problem be any of the above?

    Thread Starter cars111

    (@cars111)

    Hi thanks for the reply, with regards to redsys and plugin, what plugin are you referring to? At the moment redsys plugin is using test mode, is there somewhere elese i need to set to test? Thanks

    Plugin Author Jose Conti

    (@jconti)

    Yes, Redsys plugin.

    Can you add a screenshot error please?

    And the Redsys plugins log. WooCommerce > Status > Logs > select the latest Redsys logs.

    Paste it here please, but remove any sensitive information.

    Thank you

    Thread Starter cars111

    (@cars111)

    Hi please find the error log and screenshot: https://ibb.co/D5C3k88

    2019-07-31T14:46:35+00:00 CRITICAL Cannot redeclare moto_get_orders_status() (previously declared in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/bespoke-child/functions.php:36) in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/astra/functions.php on line 149

    2019-07-31T14:46:35+00:00 CRITICAL Cannot redeclare moto_get_orders_status() (previously declared in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/bespoke-child/functions.php:36) in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/astra/functions.php on line 149

    2019-07-31T14:46:35+00:00 CRITICAL Cannot redeclare moto_get_orders_status() (previously declared in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/bespoke-child/functions.php:36) in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/themes/astra/functions.php on line 149

    2019-07-31T19:28:07+00:00 CRITICAL Uncaught Error: Wrong parameters for Exception([string $message [, long $code [, Throwable $previous = NULL]]]) in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/moto/moto-payment.php:186
    Stack trace:
    #0 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/moto/moto-payment.php(186): Exception->__construct(Array)
    #1 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(923): WC_Gateway_Moto->process_payment(187)
    #2 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1123): WC_Checkout->process_order_payment(187, ‘moto’)
    #3 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(462): WC_Checkout->process_checkout()
    #4 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-includes/class-wp-hook.php(286): WC_AJAX::checkout(”)
    #5 /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-includes/cla in /home/content/p3pnexwpnas02_data01/03/42690103/html/wp-content/plugins/moto/moto-payment.php on line 186

    Thanks

    Plugin Author Jose Conti

    (@jconti)

    The log is from WooCommerce, not from Redsys, but maybe is an error with a template theme.

    Can you activate a Twenty or StoreFront and taste it again please?

    Thread Starter cars111

    (@cars111)

    Hi I have activated twenty theme and the same problem occurs. https://ibb.co/2ZryVnn Thanks

    Thread Starter cars111

    (@cars111)

    Hi still having the same problem even after setting Twenty theme, thanks

    Thread Starter cars111

    (@cars111)

    Hi could I get some help please, my site is unusable at the moment, thanks

    Plugin Author Jose Conti

    (@jconti)

    Hi,

    Sorry, I was offline.

    This error is very strange.

    If you deactivate the Redsys plugin, doesn’t the error screen at checkout?

    Thread Starter cars111

    (@cars111)

    Hi if I deactivate the plugin, then I have no payment gateway so cannot proceed after checkout to check error message. Thanks

    Thread Starter cars111

    (@cars111)

    Ok i added take cheque as a payment gateway, and it goes through fine

    Plugin Author Jose Conti

    (@jconti)

    So the error is when you click to pay and you are redirected to Redsys.

    I need the Redsys logs. The log that you pasted was WooCommerce logs.

    Thread Starter cars111

    (@cars111)

    how do i get access to the redsys logs? Thanks

    Plugin Author Jose Conti

    (@jconti)

    Go to WooCommerce > Status > Logs > And select the latest Redsys logs and press View.

    If there are no Redsys logs, you must go to the extension configuration, and activate the logs, then try to buy for save some logs.

    Thread Starter cars111

    (@cars111)

    Hi I have checked and redsys logs were already checked, i unchecked saved and rechecked i then made another order same problems. No error logs either

    https://ibb.co/nD8279w
    https://ibb.co/Vp2B0VX
    https://ibb.co/VQyTHNM

    Thanks

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘error message after checkout’ is closed to new replies.