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 24 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:135 |
fluent_booking/payment/ipn_endpoint_ | PRO | 1 | fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:65 |
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:325 |
fluent_booking/payment/status_changed_ | PRO | 1 | fluent-booking-pro/app/Http/Controllers/TransactionController.php:42 |
fluent_booking/payment/update_payment_status_ | PRO | 2 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:512 |
fluent_booking/payment/update_payment_status_paid | Core | 2 | fluent-booking/app/Http/Controllers/SchedulesController.php:264 |
fluent_booking/refund_payment_ | Core | 2 | fluent-booking/app/Http/Controllers/SchedulesController.php:288 |
fluent_booking/register_payment_methods | PRO | 1 | fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:31 |
fluent_booking/transaction_updated | PRO | 1 | fluent-booking-pro/app/Http/Controllers/TransactionController.php:46 |
fluent-booking/before_render_payment_method_ | PRO | 3 | fluent-booking-pro/app/Services/Integrations/PaymentMethods/Offline/Offline.php:224 |
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:135
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:65
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:325fluent-booking-pro/app/Http/Controllers/TransactionController.php:41fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:477fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:656
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:42
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:512fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:657
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: 2
Source locations
fluent-booking/app/Http/Controllers/SchedulesController.php:264fluent-booking/app/Modules/MCP/Support/BookingWriter.php:681
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: 2
Source locations
fluent-booking/app/Http/Controllers/SchedulesController.php:288fluent-booking/app/Modules/MCP/Support/BookingWriter.php:822
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:31
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:46
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:224fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/Paypal.php:440fluent-booking-pro/app/Services/Integrations/PaymentMethods/Stripe/Stripe.php:699
Example
php
add_action('fluent-booking/before_render_payment_method_', function (...$args) {
// Your custom logic here.
}, 10, count($args ?? []));