Skip to content

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

HookEditionCall SitesFirst Source
fluent_booking/after_delete_orderCore1fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:47
fluent_booking/after_draft_order_createdPRO1fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:125
fluent_booking/after_order_items_createdPRO1fluent-booking-pro/app/Services/OrderHelper.php:65
fluent_booking/before_delete_orderCore1fluent-booking/app/Hooks/Handlers/CleanupHandlers/BookingCleaner.php:43
fluent_booking/ipn_paypal_action_web_acceptPRO1fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/API/IPN.php:119
fluent_booking/payment/ipn_endpoint_PRO1fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:63
fluent_booking/payment/pay_order_with_PRO1fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:135
fluent_booking/payment/payment_settings_update_PRO1fluent-booking-pro/app/Http/Controllers/PaymentMethodController.php:56
fluent_booking/payment/status_changedCore + PRO4fluent-booking/app/Http/Controllers/SchedulesController.php:307
fluent_booking/payment/status_changed_PRO1fluent-booking-pro/app/Http/Controllers/TransactionController.php:40
fluent_booking/payment/update_payment_status_PRO2fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:410
fluent_booking/payment/update_payment_status_paidCore1fluent-booking/app/Http/Controllers/SchedulesController.php:252
fluent_booking/refund_payment_Core1fluent-booking/app/Http/Controllers/SchedulesController.php:270
fluent_booking/register_payment_methodsPRO1fluent-booking-pro/app/Hooks/Handlers/GlobalPaymentHandler.php:29
fluent_booking/transaction_updatedPRO1fluent-booking-pro/app/Http/Controllers/TransactionController.php:44
fluent-booking/before_render_payment_method_PRO3fluent-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:307
  • fluent-booking-pro/app/Http/Controllers/TransactionController.php:39
  • fluent-booking-pro/app/Services/Integrations/PaymentMethods/BasePaymentMethod.php:379
  • fluent-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:410
  • fluent-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:222
  • fluent-booking-pro/app/Services/Integrations/PaymentMethods/Paypal/Paypal.php:371
  • fluent-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 ?? []));