Actions

Where to put the code?

Any time you add a custom PHP function to your site, insert it in the Code Snippets plugin (recommended), a child theme's functions.php, or your custom plugin. The Code Snippetsopen in new window plugin is the recommended option.

IMPORTANT: Before making any PHP changes, make sure you have FTP access so you can still access your site if there are any mistakes in your code.

You can find more details in the WordPress docsopen in new window if you need to get more familiar with using WordPress action/filters.

um_stripe_webhook_payload_event_initSince 1.0.0

Catch Stripe's Webhook Payload Events

umm_stripe_event_checkout_session_expiredSince 1.4.1

Triggers when the checkout session has expired.

umm_stripe_session_completedSince 1.0.0

Triggers when the checkout session is completed.

umm_stripe_status_activeSince 1.0.0

Triggers when the charge has active.

umm_stripe_status_canceledSince 1.0.0

Triggers when the subscriptions has been cancelled.

umm_stripe_status_changedSince 1.0.2

Triggers when the status has changed

umm_stripe_status_incompleteSince 1.0.0

Triggers when the subscription is incomplete

umm_stripe_status_incomplete_expiredSince 1.0.0

Triggers when the charge has expired

umm_stripe_status_onetime_refundedSince 1.0.0

Triggers when the charge is refunded.

umm_stripe_status_past_dueSince 1.0.0

Triggers when the subscription is pass due

umm_stripe_status_pauseSince 1.0.0

Triggers when the subscriptions has been pause

umm_stripe_status_revokedSince 1.0.0

Fires once a subscription & account status has been revoked from a WP account.

umm_stripe_status_trialingSince 1.0.0

Triggers when the subscriptions has been trialing

umm_stripe_status_unpaidSince 1.0.0

Triggers when the subscription is unpaid

umm_stripe_status_{$status}Since 1.0.0

Assign Role based on the role set in the Stripe Plan settings.

umm_stripe_user_plan_changedSince 1.0.8

Triggers when the status has changed via Plan Switch