• Resolved rbdev

    (@rbdev)


    hi I am trying to change the statement descriptor because my stripe account is used for more than one blog – is this code correct ? thanks

    add_filter('wc_stripe_checkout_session_args', function ($checkoutArgs, $submission) {
                $descriptor = 'my descriptor';
                $checkoutArgs['statement_descriptor'] = $descriptor;
            return $checkoutArgs;
    }, 1, 2);
Viewing 4 replies - 1 through 4 (of 4 total)
  • Afzal (woo-hc)

    (@afzalpansuvi)

    Hi @rbdev,

    Thank you for reaching out to WooCommerce support. I understand you’re trying to change the statement descriptor. The code snippet you’ve shared seems to be on the right track. However, it’s important to note that the ‘statement_descriptor’ should be a maximum of 22 characters and cannot use special characters.

    Please note that writing or providing custom code is not within the scope of our support policy. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get the job done.

    Thread Starter rbdev

    (@rbdev)

    hmm thanks for your reply, it is sad you don’t support plugin users, I will ask stripe for another plugin or use another payment method and let them know you do not offer support

    anastas10s

    (@anastas10s)

    ?? hi there @rbdev

    Just to clarify, on top of the resources my colleague shared above, the support channels are clearly indicated — there is the “Where can I get support or talk to other users?” section in the plugin’s FAQ (linked here, for your convenience), along with the “Contacting Support” section, in the plugin’s documentation page.

    Moreover, as the inquiry in this thread is about custom code, kindly take a look at the related support policy section (linked here, for your convenience) — in case you didn’t have a chance to so already.

    I trust this clarifies things further, have a wonderful day.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘snippet to change statement_descriptor’ is closed to new replies.