WordPress.org

Support

Support » Plugins and Hacks » [Resolved] E-mail with pending stock minus one fix – Ideal ING basic

[Resolved] E-mail with pending stock minus one fix – Ideal ING basic

  • Hi all

    Some of you having troubles with e-mails in pending mode and stock amound when using ING basic ideal.

    My fix is to email the client when the admin gets the order mail and correct the stock with one:
    file: IDealGateway.php in pronamic classes files in plugins folder…
    see this function:

    private function mail_check_payment( $order, $note ) {
    global $woocommerce;

    //extra trigger processing ing basic en voorraad verminderen
    $order->update_status( ‘processing’, $note ); //e-mail triggering
    $order->reduce_order_stock(); //stock minus 1

    The update is not actually processing in the order system but then again that’s not a problem. As the manual handling is no different.
    Tested on most recent woocommerce and ideal plugin as of jan 2nd 2013

    http://wordpress.org/extend/plugins/pronamic-ideal/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] E-mail with pending stock minus one fix – Ideal ING basic’ is closed to new replies.