Payments & Orders Actions
Action hooks fired during the payment lifecycle (Pro) — order creation, payment status transitions, refunds, and gateway IPN.
16 unique action hooks currently map to this category, across 22 call sites.
Hook Inventory
| Hook | Edition | Call Sites | First Source |
|---|---|---|---|
fluent_booking/after_delete_order | Core | 1 | fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:47 |
fluent_booking/after_draft_order_created | PRO | 1 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:125 |
fluent_booking/after_order_items_created | PRO | 1 | fluent-booking-pro/app/Services/OrderHelper.php:65 |
fluent_booking/before_delete_order | Core | 1 | fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:43 |
fluent_booking/ipn_paypal_action_web_accept | PRO | 1 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/API/IPN.php:119 |
fluent_booking/payment/ipn_endpoint_ | PRO | 1 | fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:63 |
fluent_booking/payment/pay_order_with_ | PRO | 1 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:135 |
fluent_booking/payment/payment_settings_update_ | PRO | 1 | fluent-booking-pro/app/Http/Controllers/PaymentMethodController.php:56 |
fluent_booking/payment/status_changed | Core + PRO | 4 | fluent-booking/app/Http/Controllers/SchedulesController.php:307 |
fluent_booking/payment/status_changed_ | PRO | 1 | fluent-booking-pro/app/Http/Controllers/TransactionController.php:40 |
fluent_booking/payment/update_payment_status_ | PRO | 2 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:410 |
fluent_booking/payment/update_payment_status_paid | Core | 1 | fluent-booking/app/Http/Controllers/SchedulesController.php:252 |
fluent_booking/refund_payment_ | Core | 1 | fluent-booking/app/Http/Controllers/SchedulesController.php:270 |
fluent_booking/register_payment_methods | PRO | 1 | fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:29 |
fluent_booking/transaction_updated | PRO | 1 | fluent-booking-pro/app/Http/Controllers/TransactionController.php:44 |
fluent-booking/before_render_payment_method_ | PRO | 3 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/Offline/Offline.php:222 |
fluent_booking/after_delete_order
- Type: action
- Edition: Core
- Call sites: 1
Source locations
fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:47
Example
php
add_action('fluent_booking/after_delete_order', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/after_draft_order_created
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:125
Example
php
add_action('fluent_booking/after_draft_order_created', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/after_order_items_created
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Services/OrderHelper.php:65
Example
php
add_action('fluent_booking/after_order_items_created', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/before_delete_order
- Type: action
- Edition: Core
- Call sites: 1
Source locations
fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:43
Example
php
add_action('fluent_booking/before_delete_order', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/ipn_paypal_action_web_accept
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/API/IPN.php:119
Example
php
add_action('fluent_booking/ipn_paypal_action_web_accept', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/ipn_endpoint_
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:63
Example
php
add_action('fluent_booking/payment/ipn_endpoint_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/pay_order_with_
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:135
Example
php
add_action('fluent_booking/payment/pay_order_with_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/payment_settings_update_
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Http/Controllers/PaymentMethodController.php:56
Example
php
add_action('fluent_booking/payment/payment_settings_update_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/status_changed
- Type: action
- Edition: Core + PRO
- Call sites: 4
Source locations
fluent-booking/app/Http/Controllers/SchedulesController.php:307fluent-booking-pro/app/Http/Controllers/TransactionController.php:39fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:379fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:544
Example
php
add_action('fluent_booking/payment/status_changed', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/status_changed_
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Http/Controllers/TransactionController.php:40
Example
php
add_action('fluent_booking/payment/status_changed_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/update_payment_status_
- Type: action
- Edition: PRO
- Call sites: 2
Source locations
fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:410fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:545
Example
php
add_action('fluent_booking/payment/update_payment_status_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/payment/update_payment_status_paid
- Type: action
- Edition: Core
- Call sites: 1
Source locations
fluent-booking/app/Http/Controllers/SchedulesController.php:252
Example
php
add_action('fluent_booking/payment/update_payment_status_paid', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/refund_payment_
- Type: action
- Edition: Core
- Call sites: 1
Source locations
fluent-booking/app/Http/Controllers/SchedulesController.php:270
Example
php
add_action('fluent_booking/refund_payment_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/register_payment_methods
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:29
Example
php
add_action('fluent_booking/register_payment_methods', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent_booking/transaction_updated
- Type: action
- Edition: PRO
- Call sites: 1
Source locations
fluent-booking-pro/app/Http/Controllers/TransactionController.php:44
Example
php
add_action('fluent_booking/transaction_updated', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));fluent-booking/before_render_payment_method_
- Type: action
- Edition: PRO
- Call sites: 3
Source locations
fluent-booking-pro/app/Services/Integrations/PaymentMethods/Offline/Offline.php:222fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/Paypal.php:371fluent-booking-pro/app/Services/Integrations/PaymentMethods/Stripe/Stripe.php:562
Example
php
add_action('fluent-booking/before_render_payment_method_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));