Search Documentation

WP Travel Developer Documentation

  1. Home
  2. Docs
  3. WP Travel Developer Documentation
  4. Action Hooks Associated With Payment
  5. Action :wp_travel_after_successful_payment

Action :wp_travel_after_successful_payment

Fire after WP Travel payment status update.

Source

File: /inc/gateways/bank-deposit/bank-deposit.php
Used by: /inc/gateways/bank-deposit/bank-deposit.php, /inc/gateways/standard-paypal/paypal-functionst.php

Parameters
$booking_id

Example:

function prefix_wp_travel_after_successful_payment( $booking_id ) {
    // Code here.
}
add_action( ‘wp_travel_after_successful_payment', 'prefix_wp_travel_after_successful_payment’ );
Was this article helpful to you? Yes No

How can we help?