Support » Plugins and Hacks » [Resolved] Payment status completed but the course isn't activated

[Resolved] Payment status completed but the course isn't activated

  • First I want to congratulate you for the plugin. It is great and most importantly it’s free.
    I’m using the last version of Namaste. LMS (1.2.3)
    I’m having problems with the activation of the courses after payment.
    The payment is completed but the course is not activated.

    If I go to look at the database, the status of the payment is completed into wp_namaste_payments table but course_id and amount are set to zero.
    Into wp_namaste_student_courses table, the status is pending and still course_id is set to zero.

    Course_id and Amount variables are not recorded into database.
    I think the problem is due to this!

    Please, can you help me?



Viewing 8 replies - 1 through 8 (of 8 total)
  • please, can someone answer me? 🙁
    Thanks in advance

    Plugin Author prasunsen


    I’m sorry, there is no way to know what happened. The IPN script works fine for me.

    thanks for the reply. Then, to you the value of Course_id and Amount variables, has properly inserted into wp_namaste_payments table?
    This is very strange!

    So, cannot help me in anyway? 🙁
    Could you tell me some workaround to overcome this problem?
    Perhaps the use of an external payment system?

    Any suggestion is welcome
    Thanks in advance

    Kind Regards,

    Plugin Author prasunsen


    You can use paypal manually by placing the payment button HTML code in “Other payment methods” area. The other option is Stripe.

    Plugin Author prasunsen


    Please try 1.2.4, I think I found the possible root cause and fixed it.

    WooW! Thank you very much. 🙂
    Now, everything works fine!

    One last thing: into ‘course-pay.php’ file, you forgot to add the ‘&’ in the hidden field notify_url. If you do not add it, the id of the student is not entered on the database.

    I changed line 15 from:
    <input type="hidden" name="notify_url" value="<?php echo site_url('?namaste=paypal&course_id='.$course->ID.'user_id='.$user_ID);?>">
    <input type="hidden" name="notify_url" value="<?php echo site_url('?namaste=paypal&course_id='.$course->ID.'&user_id='.$user_ID);?>">

    I added the “&” before user_id=
    Thank again for your support.


    Plugin Author prasunsen


    Ooops, sorry, I was so sure it will fix the problem and didn’t test it with live payment! Thank you for the feedback, fixed it now.

    Hi ive been searching for weeks for the paypal database hacker activation code, it asks for a name not sure what name it wants also the activation code thats all i need.
    I would be most grateful if someone can help me.

    Thankyou very much

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Payment status completed but the course isn't activated’ is closed to new replies.