title: Adding Payment Method to woocommerce wordpress
body: <p>I am adding a new payment method to woocommerce . I made a copy of paypal for my method. I want to call my functions when user made payment . So i want to know which class/function is called first when user return from paypal after making payment.
  Thanks in advance.</p>