Very Urgent LearnPress State Change issue

Job ID: 40304776

Budget: ₹600 – ₹1,000 INR

I run a WordPress site that sells video courses through LearnPress and WooCommerce. 
Checkout is coupon-only—no payment gateway involved.

The problem:
• Once a student “buys” a course, it never appears under “My Courses” until the page is hard-refreshed.
• Inside the course page the button still reads “Add to cart” instead of “Continue,” again until a hard refresh is forced.

Both issues make users think their purchase failed.

Key facts
– Core plugins: WordPress, LearnPress, WooCommerce (no custom edits).
– I did update a few plugins/themes recently, so the bug may be cache, Ajax or session-related.
– The site must keep its current coupon-based flow; no payment gateway will be added.

What I need right now
1. Diagnose why LearnPress is not auto-enrolling the buyer and updating the WooCommerce session.
2. Apply a code or hook fix so the enrolled course and the “Continue” button display instantly without any manual refresh.
3. Prove the fix works on a fresh browser session.

Time is critical—I need this in the next hour and I’m online (IST) to provide access or test. Only bid if you have deep, hands-on experience with WordPress, LearnPress, WooCommerce, PHP hooks and caching layers.

Since this is very urgent, please bid ONLY if you are available online for communication.

ONLY Bid if the mentioned budget is ok for you.