WordPress.org

Ready to get started?Download WordPress

Forums

Namaste! LMS
[resolved] Payment status completed but the course isn't activated (9 posts)

  1. cetty
    Member
    Posted 8 months ago #

    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?

    Regards

    http://wordpress.org/plugins/namaste-lms/

  2. cetty
    Member
    Posted 8 months ago #

    please, can someone answer me? :(
    Thanks in advance

  3. prasunsen
    Member
    Plugin Author

    Posted 8 months ago #

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

  4. cetty
    Member
    Posted 8 months ago #

    Hi,
    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,
    Cetty

  5. prasunsen
    Member
    Plugin Author

    Posted 8 months ago #

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

  6. prasunsen
    Member
    Plugin Author

    Posted 8 months ago #

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

  7. cetty
    Member
    Posted 8 months ago #

    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);?>">
    to:
    <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.

    Regards,
    Cetty

  8. prasunsen
    Member
    Plugin Author

    Posted 8 months ago #

    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.

  9. zucko
    Member
    Posted 5 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.