• Resolved gamernamer

    (@gamernamer)


    Hey ??

    Great Plugin! I like it a lot. I’ve just one question / feature request.
    At the moment you can select between “Auto Complete Orders” or “Send When Order Received” but would it be possible to add a field where you can select the status of the order? We are using an external software which automatically checks if the payment is fulfilled and if so it will put the status to “processing”. It would be really nice if the Plugin would send the gift mail on that status. (Otherwise we would need to change the order per hand… )

    Best,
    Justus

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pimwick

    (@pimwick)

    You could attach the hook manually in your functions.php, for example:

    global $pw_gift_cards_purchasing;
    
    add_action( 'woocommerce_order_status_processing', array( $pw_gift_cards_purchasing, 'woocommerce_order_status_processing' ), 11, 2 );

    This would always listen for the “Processing” order status and (if the order has been paid) will add the gift cards to the order.

    It’s effectively the same thing as checking the “Send When Order Received” checkbox though.

    @pimwick

    I currently have both boxes checked for “Auto Complete Orders” and “Send when order received”. I’m using STRIPE & PayPal to process the payments, I’m under the impression that both STRIPE & PayPal validate instantly if the payment is valid or not, otherwise the order won’t go thru once they click the Process Order button.

    Is that correct?

    KV

    Thread Starter gamernamer

    (@gamernamer)

    Thanks a lot for the fast reply ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change when gift card will be send’ is closed to new replies.