Support » Plugin: WooCommerce Stripe Payment Gateway » Changing the payment Description field

  • Resolved Michael Kwan

    (@michoscopic)


    Good day. May I ask how can I change the text that’s sent to Stripe? I couldn’t find any way to do that and Googling didn’t come up with anything either 🙁

    Screenshot: https://prnt.sc/wn7fsj

    Would like to change it to the below (code from a different site that client wants to emulate)

    get_bloginfo('blogname').' Order #'.$wc_order->get_order_number(),

    or “Sitename Order #1234”

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Michael Kwan

    (@michoscopic)

    Update: Turns out the client receives payment in Stripe from other sources other than WooCommerce, which explains the weird xxx@gmail.com in the Description column. The ones from WooCommerce are fine (Order xxxx from Site Name). So no biggie, problem solved (technically a non-problem), but I’m curious anyway to know if this can be customised.

    Thanks in advance!

    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Hey there,

    I’m glad you were able to sort this out!

    May I ask how can I change the text that’s sent to Stripe?

    We don’t have a code snippet ready to go, though it’s theoretically possible with custom code. Here’s a good place to get started:
    shttps://remicorson.com/woocommerce-stripe-add-custom-metadata/

    If you think this is an option we should add to Stripe, please do add it to our ideas board:
    https://ideas.woocommerce.com/forums/133476-woocommerce

    I hope that helps you in the right direction.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the payment Description field’ is closed to new replies.