Title: Postback payment method
Last modified: August 30, 2016

---

# Postback payment method

 *  [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/)
 * Hello,
 * How to detect postback from payment method for membership entries?
 * Thanks for help
 * [https://wordpress.org/plugins/ibeducator/](https://wordpress.org/plugins/ibeducator/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [educatorteam](https://wordpress.org/support/users/educatorteam/)
 * (@educatorteam)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6685965)
 * Hi,
 * You should be able to process Paypal postback using the following action hook:
 *     ```
       function my_process_edr_paypal_ipn() {
       // do something.
       }
       add_action( 'ib_educator_request_paypalipn', 'my_process_edr_paypal_ipn' );
       ```
   
 * For the stripe payment method:
 *     ```
       function my_process_edr_stripe_token() {
       // do something.
       }
       add_action( 'ib_educator_request_stripe_token', 'my_process_edr_stripe_token' );
       ```
   
 *  Thread Starter [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6685966)
 * I mean, postback for changing status of the payment. Receiving a post from a 
   payment processor and change the status later.
 *  Plugin Author [educatorteam](https://wordpress.org/support/users/educatorteam/)
 * (@educatorteam)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6685971)
 * May I kindly ask you to provide more details as to what you’d like to accomplish?
   Currently, the plugin’s payment methods process replies from Paypal (IPN) and
   Stripe automatically. The payment status is automatically updated based on whether
   the payment was processed successfully or not.
 *  Thread Starter [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6686010)
 * I am using a payment method that sometimes delay payment processing. Then, it
   sends a post to a URL defined by me. I want to process this post and update the
   customer’s payment status.
 * Where i could be do it?
 *  Plugin Author [educatorteam](https://wordpress.org/support/users/educatorteam/)
 * (@educatorteam)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6686023)
 * Hi,
 * In order to create a URL where the payment system should send a post, you could
   do the following:
 * `$postback_url = ib_edu_request_url( 'mypaymentslug' );`
 * To process the post response from the payment system:
 *     ```
       function my_process_payment_response() {
           if ( isset( $_POST['some-key'] ) ) {
               // do something.
           }
       }
       add_action( 'ib_educator_request_mypaymentslug', 'my_process_payment_response' );
       ```
   
 *  Thread Starter [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * (@vinnylinux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6686024)
 * thank you give me a way.
 * i’ll do it

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Postback payment method’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ibeducator_688159.svg)
 * [Educator](https://wordpress.org/plugins/ibeducator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ibeducator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ibeducator/)
 * [Active Topics](https://wordpress.org/support/plugin/ibeducator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ibeducator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ibeducator/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [vinnylinux](https://wordpress.org/support/users/vinnylinux/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/postback-payment-method/#post-6686024)
 * Status: not resolved