Global Seller Services for WooCommerce 1.1.0 has 38 actions and 27 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Global Seller Services for WooCommerce fires an action
add_action( 'digitalriver.api_exception', function( $e ) {
// Your code runs here.
}, 10, 1 );
// Change a value Global Seller Services for WooCommerce is about to use
add_filter( 'digitalriver.checkout_submit_text', function( $text ) {
// Change $text here.
return $text;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Fires when API endpoint throws error. */ do_action( 'digitalriver.api_exception', $e ); -
/** * Fires when api call is successful. Useful for logging. */ do_action( 'digitalriver.api_success', $result, 'checkout_read', 'read' ); -
/** * Fires when API endpoint throws error. */ do_action( 'digitalriver.exception', $e ); -
/** * Filters the checkout submit button text. */ apply_filters( 'digitalriver.checkout_submit_text', $text ); -
/** * Filter customer's billing address. */ apply_filters( 'digitalriver.customer_billing_adderess', array_filter( $address ) ); -
/** * Filter customer's shipping address. */ apply_filters( 'digitalriver.customer_shipping_adderess', array_filter( $address ) ); -
/** * Filter the list of DR supported tax authority for tax certificates */ apply_filters( 'digitalriver.tax_authority_states', [ [ 'name' => 'State/Possession', 'value' => [ [ 'name' => 'Alabama', 'code' => 'Al', ], [ 'name' => 'Alaska', 'code' => 'AK', ], [ 'name' => 'American Samoa', 'code' => 'AS', ], [ 'name' => 'Arizona', 'code' => 'AZ', ], [ 'name' => 'Arkansas', 'code' => 'AR', ], [ 'name' => 'California', 'code' => 'CA', ], [ 'name' => 'Colorado', 'code' => 'CO', ], [ 'name' => 'Connecticut', 'code' => 'CT', ],... ); -
/** * Filter of on sale checkout data */ apply_filters( 'digitalriver.tax_estimate_data', $onsale_checkout_data, $product ); -
/** * Executes once order is created. */ do_action( 'digitalriver.wc_order_created', $order_id ); -
/** * WooCommerce plugin required in order to use the plugin. */ apply_filters( 'active_plugins', get_option( 'active_plugins' ) ); -
/** * Filter the order creation API errors. */ apply_filters( 'digitalriver.api_errors', $errors, $e, 'order_create' ); -
/** * Perform the necessary actions if error occurs during api retrial. */ do_action( 'digitalriver.api_retry_error', $e ); -
/** * Filter the list of avaialbe tax codes */ apply_filters( 'digitalriver.available_tax_codes', [ [ 'type' => 'digital', 'taxcode' => '4512.100', ], [ 'type' => 'digital', 'taxcode' => '55111509.12', ], [ 'type' => 'digital', 'taxcode' => '55111512.100', ], [ 'type' => 'digital', 'taxcode' => '55111507.120', ], [ 'type' => 'digital', 'taxcode' => '55111506.120', ], [ 'type' => 'digital', 'taxcode' => '55111513.120', ], [ 'type' => 'digital', 'taxcode' => '55111502.120', ], [ 'type' => 'ph... ); -
/** * Update customer data in case any other information needs to be appended or * modified. */ apply_filters( 'digitalriver.customer_data', $data ); -
/** * Fires when customer is created on DigitalRiver. */ do_action( 'digitalriver.dr_customer_created', $customer ); -
/** * Do not do anything if there is an error in creating file link. */ do_action( 'digitalriver.file_link_error', $e ); -
/** * Filter the list of WooCommerce gateways with DR gateway. */ apply_filters( 'digitalriver.gateway_class', $gateways ); -
/** * Filters the list of fields for Digital River product data. */ apply_filters( 'digitalriver.meta_fields', $this->fields ); -
/** * Fires when a module is dependent on plugin operation to be enabled. */ do_action( "digitalriver.module_init_{$this->name()}" ); -
/** * Fires when order has been created on DR. */ do_action( 'digitalriver.order_created', $dr_order ); -
/** * Filter the SKU Request Model. */ apply_filters( 'digitalriver.pre_sync_sku_request', $this->sku_request, $this->product ); -
/** * Fires when product is synced successfully. */ do_action( 'digitalriver.product_deleted', $product ); -
/** * If you are using any other element than `span`, you can filter it out here. */ apply_filters( 'digitalriver.product_price_tag', 'span' ); -
/** * Fires when product is retrieved successfully. */ do_action( 'digitalriver.product_retrieved', $product, $sku ); -
/** * Fires when product is synced successfully. */ do_action( 'digitalriver.product_synced', $product ); -
/** * Action after remove the specific log files */ do_action( 'digitalriver.remove_log', $handle, $removed ); -
/** * Fires exactly before the status transition. */ do_action( 'digitalriver.status_transited', $order_id, $status_to, $status_from ); -
/** * Filter the SyncHandler Instance. */ apply_filters( 'digitalriver.sync_handler', $sync_handler ); -
/** * Filter the list of DR supported country for tax identifier */ apply_filters( 'digitalriver.tax_identifier_countries', [ 'AU' => [ [ 'type' => 'au', 'description' => 'ABN', 'required' => 'no', ], ], 'AT' => [ [ 'type' => 'at', 'description' => 'VAT Number', 'required' => 'no', ], ], 'BH' => [ [ 'type' => 'bh', 'description' => 'VAT Number', 'required' => 'no', ], ], 'BY' => [ [ 'type' => 'by', 'description' => 'VAT Number', 'required' => 'no', ], ], 'BE' => [ [ 'type' => 'be', 'description' => 'VAT Number', 're... ); -
/** * Filter for other logger handler service if have */ apply_filters( 'dr_log_handler', $handler, $class_name ); -
do_action( 'digitalriver.process_checkout_exception', $e ); -
do_action( 'digitalriver.tax_identifier_error', $e ); -
do_action( 'woocommerce_before_cart_totals' ); -
apply_filters( 'woocommerce_cart_item_class', 'cart_item', $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_cart_item_product', $cart_item['data'], $cart_item, $cart_item_key ); -
apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ); -
woocommerce_review_order_after_cart_contents
action Used by 40 plugins → Copy link Customise this hookdo_action( 'woocommerce_review_order_after_cart_contents' ); -
woocommerce_review_order_after_order_total
action Used by 41 plugins → Copy link Customise this hookdo_action( 'woocommerce_review_order_after_order_total' ); -
do_action( 'woocommerce_review_order_after_shipping' ); -
woocommerce_review_order_before_cart_contents
action Used by 40 plugins → Copy link Customise this hookdo_action( 'woocommerce_review_order_before_cart_contents' ); -
woocommerce_review_order_before_order_total
action Used by 42 plugins → Copy link Customise this hookdo_action( 'woocommerce_review_order_before_order_total' ); -
woocommerce_review_order_before_shipping
action Used by 45 plugins → Copy link Customise this hookdo_action( 'woocommerce_review_order_before_shipping' ); -
do_action( 'digitalriver.api_error', $e ); -
apply_filters( 'digitalriver.checkout_errors', $errors ); -
apply_filters( 'digitalriver.default_compliance_entity', 'DR_INC-ENTITY' ); -
do_action( "digitalriver.event_{$type}", $type, $event ); -
apply_filters( 'digitalriver.force_compliance_entity', null ); -
apply_filters( 'digitalriver.force_fulfillment', false ); -
apply_filters( 'digitalriver.load_compliance_assets', false ); -
do_action( 'digitalriver.manage_sources', $action, $source_data, $customer ); -
do_action( 'digitalriver.multi_ship_from_error', $e ); -
do_action( 'digitalriver.no_sku_group_id', $this->sku_request, $this->product ); -
apply_filters( 'digitalriver.process_checkout_data', $data ); -
apply_filters( 'digitalriver.run_tax_calculation_filters', false ); -
do_action( 'digitalriver.set_totals', $this->order, $checkout ); -
apply_filters( 'digitalriver.transition_handler', $transition_handler, $status ); -
do_action( 'manage_sources' ); -
do_action( 'manage_tax_certificates' ); -
do_action( 'manage_tax_identifiers' ); -
do_action( 'woocommerce_after_cart_totals' ); -
woocommerce_cart_totals_after_order_total
action Used by 18 plugins → Copy link Customise this hookdo_action( 'woocommerce_cart_totals_after_order_total' ); -
do_action( 'woocommerce_cart_totals_after_shipping' ); -
woocommerce_cart_totals_before_order_total
action Used by 18 plugins → Copy link Customise this hookdo_action( 'woocommerce_cart_totals_before_order_total' ); -
do_action( 'woocommerce_cart_totals_before_shipping' ); -
do_action( 'woocommerce_proceed_to_checkout' );
Generated from Global Seller Services for WooCommerce's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: