title: WooCommerce payment complete hook
body: <p>After a long search, I found this post:</p>
  
  <p><a href="https://stackoverflow.com/questions/28218580/woocommerce-hook-for-after-payment-complete-actions?newreg=568400d0d872431db6fa209dcb6eef11">WooCommerce hook for &quot;after payment complete&quot; actions</a></p>
  
  <p>which talks about creating web hooks in WooCommerce to notify a script to do...something...doesn't matter too much what.</p>
  
  <p>I've also read everything I can find in WooCommerce docs.</p>
  
  <p>but I need some kind of documentation or guidance on actually writing the handler on the other end.</p>
  
  <p>My goal is to receive a payment complete notification and then move the user to a different list (a customer list rather than a prospects list) after purchase - I use PHPlist in house as my list manager.  Pretty sure I can deal with that part, if I can just get the listener going...</p>
  
  <p>But..I don't know what the web hook sends, how to get it to send data that I want, and what to do with the listener.</p>
  
  <p>I did also find this:</p>
  
  <p><a href="https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-order-id-for-payment-notification-to-external-webservice?replies=4" rel="noreferrer">https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-order-id-for-payment-notification-to-external-webservice?replies=4</a></p>
  
  <p>which - MIGHT be helpful?  i'm still not sure where to begin with the listener, or if this post is valid still, given that it's a couple of years old...</p>