Title: redirection at checkout ERROR
Last modified: March 15, 2024

---

# redirection at checkout ERROR

 *  [soenarto](https://wordpress.org/support/users/soenarto/)
 * (@soenarto)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/redirection-at-checkout-error/)
 * Unfortunately, my premium ticket’s active period is no longer valid because 2
   years have passed. I just want to inform you that the redirection at checkout
   using Woocommerce is not working. This happened after the “WooCommerce Add-On
   for LearnPress” plugin was updated yesterday.

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

 *  Plugin Author [ThimPress](https://wordpress.org/support/users/thimpress/)
 * (@thimpress)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/redirection-at-checkout-error/#post-17514052)
 * Hi soenarto,
   Oh, we checked it, and see the function still run normally. You 
   can test on the link [https://testaddon.thimpress.com/courses/course-test/](https://testaddon.thimpress.com/courses/course-test/)
   Can you custom JS? it can effect to function of LP Woo.Thank for feedback.Best
   Regard!
 *  Thread Starter [soenarto](https://wordpress.org/support/users/soenarto/)
 * (@soenarto)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/redirection-at-checkout-error/#post-17514726)
 * I thank you for not ignoring my problem.
 * I have found the source of the problem, namely in the custom function that I 
   created previously.
 * Previously I used this code:
   **add_action( ‘admin_init’, ‘my_admin_init_function’);**
 * Using “admin_init” causes a lot of conflicts.
 * Then I tried replacing with this code:
   **add_action( ‘admin_enqueue_scripts’,‘
   my_admin_init_function’ );**
 * It turns out this is cleaner and doesn’t interfere with each other.
 *  Thread Starter [soenarto](https://wordpress.org/support/users/soenarto/)
 * (@soenarto)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/redirection-at-checkout-error/#post-17514757)
 * Im sorry, how you showing the “Featured Review” in this page ([https://testaddon.thimpress.com/courses/course-test/](https://testaddon.thimpress.com/courses/course-test/))?
 * Sorry if this out of topic
    -  This reply was modified 2 years, 2 months ago by [soenarto](https://wordpress.org/support/users/soenarto/).

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

The topic ‘redirection at checkout ERROR’ is closed to new replies.

 * ![](https://ps.w.org/learnpress/assets/icon-256x256.gif?rev=3254420)
 * [LearnPress - WordPress LMS Plugin for Create and Sell Online Courses](https://wordpress.org/plugins/learnpress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/learnpress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/learnpress/)
 * [Active Topics](https://wordpress.org/support/plugin/learnpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/learnpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/learnpress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [soenarto](https://wordpress.org/support/users/soenarto/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/redirection-at-checkout-error/#post-17514757)
 * Status: not resolved