Home Forums Plugin Support WP User Frontend Pro Whereupon called paypal_success action?

This topic is: not resolved

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Tareq Hasan 5 years, 9 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4119

    AntonLyakhov
    Participant
    Post count: 6

    I'm create custom payment gateway, and I need insert information about payment in DB -> WPUF_Payment::insert_payment( $data, $postdata[‘txn_id'] ), but when how, I can call (gateway)_success action?

    #4121

    Tareq Hasan
    Keymaster
    Post count: 2831

    If you look at the paypal gateway, I've set the paypal listener URL to a special URL: example.com/?action=wpuf_paypal_success and listening to it. So redirect the user to a special url and monitor the GET and POST request, that way you can verify the payment and insert the payment to db.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Whereupon called paypal_success action?’ is closed to new replies.