Invoice sending issue

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 5 reply threads
  • Author
    Posts
    • #72125
      Kumar Rajesh
      Participant

      Hi,
      whenever a customer is booking a product, the store invoice is getting delivered to the customer automatically which is not suppose to happened.
      The store invoice is suppose to be sent to the customer after the order is completed.
      Thank You.

    • #72409
      WCFM Forum
      Keymaster

      Hi,

      Please add this code snippet to your child theme’s functions.php –

      add_filter( 'wcfm_allowed_store_invoice_orders', function( $order_types ) {
      	$order_types = array( 'customer_invoice', 'new_order', 'customer_completed_order', 'store-new-order' ) ;
      	return $order_types; 
      }, 50 );

      Thank You

    • #72515
      Kumar Rajesh
      Participant

      Hi,
      Thank you for response.
      What this code snippet will exactly do, Please tell something about this.

    • #72676
      WCFM Forum
      Keymaster

      HI,

      The store invoice is suppose to be sent to the customer after the order is completed.

      – It will send store invoice to customers only after order completed!

      Thank You

    • #74602
      Kumar Rajesh
      Participant

      Hi,
      Thanks for your reply.
      Sometime store invoice generates on order booking and sometime its generate on order completion.
      Yesterday one order booked and store invoice displaying in vendor section as well in administrator section. But today order booked, the store invoice was not generated and display from both account( admin and vendor), after order completion the store invoice get displayed in both account.

    • #74985
      WCFM Forum
      Keymaster

      Hi,

      Are those two orders placed for same product?

      If different product, then what type of products those are?

      And, what was payment gateway for those two orders?

      Thank You

Viewing 5 reply threads
  • You must be logged in to reply to this topic.