• Resolved Ben

    (@benimator)


    Hi,

    When an order is placed it shows a description in my Stripe Dashboard with something like “Blog Name – Order #”

    Is it possible to change it to have the product that was ordered in the description? This way the finance people can more easily run reports from within Stripe.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello Ben,

    Please use this filter code to change the order description, add the filter code to your child theme’s functions.php -or- use a code snippets plugin.

    add_filter('cpsw_get_order_description', function( $description){ return 'custom order description'; }, 10, 1);

    Replace the ‘custom order description’ with your desired string.

    Hope this helps.

    Thread Starter Ben

    (@benimator)

    Hi Sravan, this is a great start. But how do I make the custom order description the title of the Woocommerce product? An example being if custom orders ‘Product A’ then Stripe description would be ‘Product A’
    Then if they order ‘Product B’ the Stripe description would be ‘Product B’


    Basically I want a dynamic description sent to Stripe that changes based on the product that has been ordered.

    Plugin Support Sravan Bhaskaravajjula

    (@bhshravankumar)

    Hello @benimator,

    Checkout plugins do not control/use the product information, it just uses the Stripe API to complete your payment, please contact WooCommerce support to know more about this requirement.

    Best Regards,

    Plugin Support Aamir

    (@aamiribsf)

    Hello @benimator,

    It’s been a while since we haven’t heard from you so we are marking this thread as resolved.

    If you faced any other issues while using our product, feel free to start a new thread.

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change Stripe payment description’ is closed to new replies.