• We found some issue in checkout. As soon as customer go to checkout it create the order. if customer leave then it stay as pending. Even if customer get back to website and change cart item then go to checkout it create another pending order in backend. This create lot of issue.

    We can not use other payment system in website because when It create pending order then later when order is mark as Processing then svea override it and set pending.

    I think create order as soon as customer in checkout is bad for us. anyway to stop it?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author The Generation

    (@thegeneration)

    Hi,

    That was the previous behaviour in Svea Checkout 1.x.x and is changed in Svea Checkout 2.0 where it now only creates an order when the user proceeds with a selected payment method.

    Please update the plugin, preferably on a dev/staging environment to see if it solves the problem.

    Best regards

    Thread Starter Rokeybur Rahman

    (@rokeyfx)

    We are using WooCommerce 5.0.0 and Svea Checkout f?r WooCommerce 1.18.0 and WordPress 5.6.8 .

    Can we just update svea? because currently we can not update woocommere and wordpress.

    Plugin Author The Generation

    (@thegeneration)

    Hi,

    Okay, WooCommerce 5.0.0 is about three years old and WordPress 5.6.8 is about two years old. We really recommend upgrading to the latest versions in order to keep the store secure and being able to update other plugins as well.

    You could try updating Svea Checkout alone, but I’m worried that it might be a bit too big of a leap in this case.

    Best regards

    Thread Starter Rokeybur Rahman

    (@rokeyfx)

    Ok i will update but i need another thing. we know when company order it save company reg number on database but it does not save for personal reg number before so then we use this code before.
    inc/class-wc-gateway-svea-checkout.php
    // Save personal registration number if ( ! empty( $response[‘Customer’][‘NationalId’] ) ) { $reg_ps_nr = trim( $response[‘Customer’][‘NationalId’] ); $wc_order->update_meta_data( ‘_svea_co_personal_reg_number_custom’, $reg_ps_nr ); }

    but maybe this code updated on new version where i can add that feature?

    Plugin Author The Generation

    (@thegeneration)

    Hi,

    Depending on the situation, this data is already stored on the order in newer versions.

    If it’s not enough for your specific use case, you can hook into the action “woocommerce_sco_after_push_order” and use it to further modify the order.

    Best regards.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Lot of pending order’ is closed to new replies.