Support » Plugin: eWAY Payment Gateway » Payment Status is not ‘Completed’

  • There has been a change in behaviour with credit card payments. After success payment, the order status updates to “Processing” but not to “Completed”. It used to update to ‘Completed’. How do I achieve a status of “Completed”. on successful payment?

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

Viewing 1 replies (of 1 total)
  • Plugin Author webaware

    (@webaware)

    G’day gafferCanberra,

    WooCommerce is doing that. If it detects that any of your products require processing (e.g. packing and shipping), it marks the transaction as Processing. Otherwise (e.g. for digital downloads or other virtual products) it marks the transaction as Completed.

    If your products don’t require shipping or other handling, you can mark them as Virtual and Downloadable in the WooCommerce admin and then your orders will auto-complete. If you want to force the issue, without editing your products, you can use a filter hook:

    add_filter('woocommerce_order_item_needs_processing', '__return_false');

    Alternatively, you can hook woocommerce_payment_complete_order_status and change any ‘processing’ to ‘completed’.

    cheers,
    Ross

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.