Fixed Stripe payment profile throws error if you leave "Statement descriptor" blank

Jake B.

Well-known member
Affected version
2.2.3 Patch 1
As title says, description of this field indicates it should be allowed to have a blank value

Statement descriptors explain charges or payments on bank statements. Leaving this empty will use the board title. If you wish to set a custom descriptor, it must follow the format outlined in Stripe's documentation.

However, if I save it with this field blank I get the following:

A valid statement descriptor must be between 5 and 22 characters and match the documented format.

The board title is 11 characters, all letters. No spaces, special characters, numbers, or anything like that just a single word.

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XF release (2.2.5).

Change log:
Do not require a custom statement descriptor when setting up Stripe, unless we can't derive a valid descriptor automatically.
There may be a delay before changes are rolled out to the XenForo Community.