Viewing 10 replies - 46 through 55 (of 55 total)
  • Hello

    I’ve tried all of this (thankyou.php and order-details.php), but in WC 2.0.12 it doesn’t work.
    Order are payed successfully, but order status is still pending.

    Please help us to fix this

    Thanks for the solution! Worked for me!

    <?php $order->payment_complete(); ?>

    Hi,
    Why to modify by ourself the WOO code by putting “<?php $order->payment_complete(); ?>”
    Modifications is still dangerous and I think it is part of WOO support to take care about this bug. Apparently many people, including myself,experiment this problem.
    But I don’t know the way to contact the WOO Support to report this problem.
    Except buying something to their Woo Theme shop it seems that there is noway to contact their support.
    Do you confirm ?

    Thread Starter queenielow

    (@queenielow)

    HI Pitou31,

    I dont want to modify it either but because i can’t get any support from woocommerce ( same as what you encounter) and with a tight deadline, so i have to.

    I didn’t modify their core, i’m just using one of their API to make it what i want.

    This forum is community forum and we help each other as developers.
    Please do appreciate what you see here if you could get support from Woo , please do share with all of us.

    Hi Queenielow,
    Thank you for your reply.
    You say “I didn’t modify their core, i’m just using one of their API to make it what i want.” sorry but I don’t know the way to use their API.
    Of course if I can get Woo support I will let the community know.
    For the moment this is what I received from the Sale support:

    Maria (WooThemes)

    Sep 05 22:32 (UTC)

    Hi Jacques,

    Thanks for the reply! I am sorry for the trouble you are having but the only way to get help as I mentioned is to have a product on your account. You may find it useful to know that we have a 30-day money back guarantee should you decide to purchase a product this will give you access to our support Ninjas and if you find out that this solution won’t work the way you need, we can easily refund your money.

    I hope this helps!
    Cheers!

    Maria
    WooThemes Support

    Thread Starter queenielow

    (@queenielow)

    Hi Pitou31,

    For woocommerce api , here is the docs online by woocommerce/woothemes. hope this help.

    https://docs.woothemes.com/wc-apidocs/

    Than you queenielow. I will read it.

    In the “thank you page” of the woocommerce version 2.0.14 (which is the last today) there are twice <p><?php _e( ‘Thank you. Your order has been received.’, ‘woocommerce’ ); ?></p> in the original line 36 and 67 .
    I put the <?php $order->payment_complete(); ?> in the first place before line 36 and not at the end.
    It seems working. Is it the right correction and the right place?
    I am not very familiar wit PHP language but it seems to me that in the first place we are in a situation that the payment is confirmed isn’t it ? I don’t know for the second place.
    Thank you for your help.

    Thread Starter queenielow

    (@queenielow)

    Hi Pitou31,

    Yes, you have put at the right place.

    Not sure what the use of line 67 as it only have 1 thank you statement there. I guess you can add <?php $order->payment_complete(); ?> above the <p><?php _e( ‘Thank you. Your order has been received.’, ‘woocommerce’ ); ?></p> .

    Just to cover all possibility else just have it above line 36 is good enough.

    Cheers

    Thanks queenielow.

Viewing 10 replies - 46 through 55 (of 55 total)
  • The topic ‘How can i get my IPN works in woocommerce payment’ is closed to new replies.