• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar

Stripe Plugins

Stripe payment plugins for your WordPress site

  • Home
  • Documentation
  • Addons
  • Login
    • Sign In
    • Edit Profile
    • My Downloads
  • Support
    • Support Forum
    • Forum Login
    • Forum Registration
  • Contact Us
  • Show Search
Hide Search
You are here: Home / Stripe Payments Plugin – Filter Hooks Reference

Stripe Payments Plugin – Filter Hooks Reference

Below is a list of action hooks that are available in the Stripe Payments Plugin.

Thank You Page

asp_stripe_payments_checkout_page_result

This filter allows you to modify the output data on the Thank you/checkout result page. This can be used to add some additional details to the thank you page message shown by this plugin after a transaction.

Below is an example of how to use this filter:

add_filter('asp_stripe_payments_checkout_page_result', 'asp_custom_thank_you_msg', 10, 2);
function asp_custom_thank_you_msg ($output, $txn_data)
{
    //Do stuff
    //print_r($txn_data);//Lets see what transaction data is available in this array.
    $output .= 'This text will be added to the thank you page message.';
    return $output;
}

Stripe Payment Button

asp_additional_stripe_checkout_data_parameters

This filter can be used to add extra data parameters for stripe checkout.

Stripe Orders

asp_order_before_insert

This filter is executed before the order data is inserted into the orders table (after a transaction).

Reader Interactions

Primary Sidebar

Search

Featured Addons and Extensions

  • Subscription Payments Addon
  • Secure Downloads Addon
  • Apple Pay and Google Pay

Addon Bundle

Stripe Payments Addon Bundle

Support Links

  • Support Forum
  • Forum Registration

Copyright © 2019 | Stripe Plugins | A member of the Tips and Tricks HQ family.