Title: Dynamic statement supported?
Last modified: February 25, 2026

---

# Dynamic statement supported?

 *  Resolved [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * (@maartenplugwise)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/)
 * Are dynamic statements supported? In the stripe documentation it shows it is 
   possible to use dynamic statements [https://docs.stripe.com/get-started/account/statement-descriptors](https://docs.stripe.com/get-started/account/statement-descriptors).
 * Use case: Our customers currently can’t match a bank statement with the invoice
   from the webshop.
   Proposal: I want to set the order number as the dynamic statement.
   For example: Plugwise* #234567
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-statement-supported%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18833607)
 * Hi [@maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * Thank you for contacting Payment Plugins. You can use the filter `wc_stripe_payment_intent_args`
   to provide a dynamic descriptor.
 * Example:
 *     ```wp-block-code
       add_filter('', function($args, $order){    if ( \in_array( 'card', $args['payment_method_types'] ) ) {				$args['statement_descriptor_suffix'] = 'Plugwise*#' . $order->get_id();			} else {				$args['statement_descriptor'] = 'Plugwise*#' . $order->get_id();			}    return $args;}, 10, 2);
       ```
   
 * Kind Regards
 *  Thread Starter [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * (@maartenplugwise)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18833616)
 * Hi Clayton,
 * Thank you for the quick response with a solution. Would you consider to add this
   as a standard option in the plugin to set a dynamic statement descriptor? I expect
   that for all plugin users it would be beneficial that their webshop customers
   can see the order ID in their bank statement.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18833620)
 * Hi [@maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * We have considered adding dynamic descriptor support. The issue is descriptors
   are tricky because of all the validations that Stripe performs. The plugin would
   need to implement checks to ensure the merchant doesn’t enter an invalid descriptor
   and that could lead the merchant to think there is a plugin issue.
 * It’s always a balance wanting to support as many advanced options as possible
   while still ensuring a merchant can’t bring their payments down from a simple
   config change.
 * Kind Regards
 *  Thread Starter [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * (@maartenplugwise)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18833705)
 * [@mrclayton](https://wordpress.org/support/users/mrclayton/) I added the code
   and it works (tested with iDeal). The checkout did give a warning that * and #
   are not allowed (indeed they are not a latin character).
 * I understand the balance. In this case I don’t think there is a big risk since
   it is not so difficult to perform this check: Only latin characters, 5-22 characters.
   And at a link to the stripe documentation for the rules.
 * UI could show: 
   – Info of limitations + link to Stripe documentation– Input field
   for business name + dropdown of the desired dynamic part, or just only order 
   number.– A preview field with business name and the latest order number, and 
   the total character length. If you have high order numbers it could hit the character
   limit.
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18833917)
 * Hi [@maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * I’ve made a note to add this in the next release. Rather than a dropdown, I think
   we will include reserved strings like this:
 *     ```wp-block-code
       MyComp {order_id} = MyComp 5573MyComp {order_number} = MyComp 4-5573
       ```
   
 * This way the merchant can use dynamic variables to construct the descriptor. 
   [The documentation site ](https://paymentplugins.com/documentation/stripe/)will
   cover all of the available dynamic variables.
 * Kind Regards
 *  Thread Starter [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * (@maartenplugwise)
 * [3 months ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18834528)
 * [@mrclayton](https://wordpress.org/support/users/mrclayton/) Thank you so much
   for planning to include it in the next release. 👍
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18839876)
 * Hi [@maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * Version 3.3.103 has been released. Dynamic variables are now supported for the
   statement descriptor. [https://paymentplugins.com/documentation/stripe/advanced-settings/#statement-descriptor](https://paymentplugins.com/documentation/stripe/advanced-settings/#statement-descriptor)
 * Kind Regards
 *  Thread Starter [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * (@maartenplugwise)
 * [2 months, 3 weeks ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18840700)
 * [@mrclayton](https://wordpress.org/support/users/mrclayton/) I tested the plugin
   update and it works! I see the order ID on the bank statement. Thank you so much
   for officially adding this to the plugin.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-statement-supported%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [maartenplugwise](https://wordpress.org/support/users/maartenplugwise/)
 * Last activity: [2 months, 3 weeks ago](https://wordpress.org/support/topic/dynamic-statement-supported/#post-18840700)
 * Status: resolved