CYBER WEEK

35% OFF ADDONS CODE EVOCYBER2020

X
33189

Ticket #33189 Public

Event Tickets/Woocommerce Question

  • Hello there, just had a quick question regarding the Event Tickets & WooCommerce.

    First of all, outstanding plugin…keep up the great work.

    My question is:

    I’m able to hook up the Ticketing/WooCommerce to my Paypal and able to receive payments no problem. However, the payments are always stuck in ‘Processing’ mode and never seem to go to “Completed” on it’s own…I’ve had to manually change it to completed. The reason this is important is that the Event Tickets (with QR code) will not send the autoresponder email containing the ticket(s) along with the QR code until the transaction is in “Completed” mode, which I’ve had to do manually.

    Is there a way to have this go to “Completed” on it’s own so that the tickets are being sent automatically to the user?

    Thanks so much!!

    BY: TLP Agency - Apr 4,2017 AT 8:27AM - 3 years ago
    • By: VPREATR Apr 5,2017 AT 1:09AM - Posted 3 years ago - #33243

      FWIW, I utilize the following in the ‘function.php’ file of my theme, the code addition automatically updates the order status to completed. That said, you’ll also find several plugins that offer this ability, alas; I chose this method for simplicity.

      add_filter( 'woocommerce_payment_complete_order_status', 'update_order_status_to_completed', 10, 2 );

      function update_order_status_to_completed( $order_status, $order_id ) {

      $order = new WC_Order( $order_id );

      if ( 'processing' == $order_status ) {

      return 'completed';

      }
      return $order_status;
      }

      Please understand I’m unable to endorse the aforementioned codes accuracy and/or usage, although I can say it’s what I utilize with my live WP/WC/EVO Ticket deployment.

      Thanks!

    • By: Ashish Rai Apr 6,2017 AT 10:03AM - Posted 3 years ago - #33528

      @Mateenager

      Yes, payments are all taken care of by woocommerce. So, it is not controlled by our plugin.

      Therefore, you should find third-party plugins that will allow to auto complete all transactions by default.

      Let us know if you need help with anything else.

    • By: Chris Martell May 2,2017 AT 6:52AM - Posted 3 years ago - #35869

      Woocommerce has a plugin called “Order Status Control” that allows you to set all orders to automatically go straight to completed.

      https://woocommerce.com/products/woocommerce-order-status-control/

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON