Hooks and Filters

do_action('wp_dafa3ny_success',$payment_info);
add_action('wp_dafa3ny_success','your_function_name');

That action will run after any successful payment and it will return the payment information with it.

The payment information are:

(array) [11 elements]
price: (string) "392"
tax: (string) "8"
currency: (string) "EUR"
product_name: (string) "Chelsea Bowers"
product_desc: (string) "Labore quo similique"
order_id: (string) "orderdd55"
track_id: (string) "trackkkhere"
success_url: (string) "https://demos.wisersteps.com/dafa3ny/success"
fail_url: (string) "https://demos.wisersteps.com/dafa3ny/fail"
post_id: (integer) 5 
user_email: (string) "[email protected]"