WordPress.org

Forums

WooCommerce - excelling eCommerce
[resolved] How to automatically change order status after payment? (6 posts)

  1. bugaonz
    Member
    Posted 2 years ago #

    I've tested WooCommerce by using Paypal Sandbox and seen that, after customers already pay via paypal, the order status doesn't change and it always shows 'Pending Status' and the 'Pay' button is always shown to the users.

    Is it possible to automatically change order status to 'Processing' (or any status which indicates that the payment is accepted) after customers successfully pay via paypal?

    Any suggestions?

    http://wordpress.org/extend/plugins/woocommerce/

  2. Coen Jacobs
    Member
    Posted 2 years ago #

    Does your System Status page say IPN (wp_remote_post()) works?

    This is used to notify your website that the payment is completed (or cancelled, or whatever happened to it) once your customer has left the PayPal environment.

  3. bugaonz
    Member
    Posted 2 years ago #

    Thanks for your response.

    I've checked the system status and it said
    WP Remote Post: wp_remote_post() was successful - PayPal IPN is working.

    What is the normal behavior of the status after payment?
    Will the status change to something?

  4. bugaonz
    Member
    Posted 2 years ago #

    Is it possible that this problem only occurs when I test my website locally on my local machine?

    If yes, is it possible to test locally?

  5. Roy Ho
    Member
    Posted 2 years ago #

    @bugaonz - yes generally (if not set up), IPN won't be able to communicate with your local setup on your local computer. However there are ways to make it work which I won't get into here. You can read some articles on how to get this to work but it takes some bit of knowledge with server side administration. If you do a search on Google for "paypal ipn on localhost", you will find many articles on how to get this to work.

  6. bugaonz
    Member
    Posted 2 years ago #

    Thanks splashingpixels.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags