Title: Problem with generating coupons
Last modified: August 9, 2024

---

# Problem with generating coupons

 *  Resolved [ruian222](https://wordpress.org/support/users/ruian222/)
 * (@ruian222)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/problem-with-generating-coupons/)
 * I have a problem with the coupon refund in my web. It doesn’t work, I clik on
   the refund button and nothing happens, the console shows this. I need help
 * Images here:
 * [https://ibb.co/t4L8ymT](https://ibb.co/t4L8ymT)
   [https://ibb.co/Vxqpbm3](https://ibb.co/Vxqpbm3)
    -  This topic was modified 1 year, 10 months ago by [ruian222](https://wordpress.org/support/users/ruian222/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-generating-coupons%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * (@yoancutillas)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/problem-with-generating-coupons/#post-17946978)
 * Hello,
 * The error in the browser console says that an error 500 occurred on your server
   side, I would need to read that error details.
 * Can you:
 * Replace in wp-config.php (at the root of your WordPress install)
 * define(‘WP_DEBUG’, false);
   with:define(‘WP_DEBUG’, true);define(‘WP_DEBUG_LOG’,
   true);define(‘WP_DEBUG_DISPLAY’, false);
 * 2.
   Reproduce the error: try to refund a booking with a coupon
 * 3..
 * Send me the wp-content/debug.log file (if it has appeared) at [contact@booking-activities.fr](https://wordpress.org/support/topic/problem-with-generating-coupons/contact@booking-activities.fr?output_format=md)
 *  Plugin Author [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * (@yoancutillas)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/problem-with-generating-coupons/#post-17950760)
 * Thank you,
 * The problem was that Booking Activities made use of the WC Legacy REST API, which
   is now a plugin separated from WooCommerce core plugin: [https://wordpress.org/plugins/woocommerce-legacy-rest-api](https://wordpress.org/plugins/woocommerce-legacy-rest-api)
 * I have published a fix, can you update to 1.16.15 and try again?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Problem with generating coupons’ is closed to new replies.

 * ![](https://ps.w.org/booking-activities/assets/icon-256x256.png?rev=1709970)
 * [Booking Activities](https://wordpress.org/plugins/booking-activities/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/booking-activities/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/booking-activities/)
 * [Active Topics](https://wordpress.org/support/plugin/booking-activities/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/booking-activities/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/booking-activities/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [yoancutillas](https://wordpress.org/support/users/yoancutillas/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/problem-with-generating-coupons/#post-17950760)
 * Status: resolved