Customise Description Passed to Stripe

WordPress Event Management, Calendars & Registration Forums General Question Customise Description Passed to Stripe

This topic contains 1 reply, has 2 voices, and was last updated by  Stephen Harris 10 years ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15363

    Hi, I need to customise the description passed to Stripe.

    I’ve found the code which handles this on line 181 of class-eo-stripe-payment-gateway.php

    $description = "Booking reference #{$booking_id} ({$email})";

    Is there a way to customise this WITHOUT making edits to the class-eo-stripe-payment-gateway.php file itself (which will be overwritten any time the Event Organiser Stripe plugin is updated)

    SRUC Webmaster
    #15366

    Hi David,

    No (well, yes, but it’s not easily done), but in the next update I’ll filter the data sent to Stripe so you can change the details.

    So in the mean time, feel free to edit that file and I’ll post here with an update on how to ‘future proof’ the changes,

    Stephen Harris
Viewing 2 posts - 1 through 2 (of 2 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.