• Can this be integrated with a shopping cart like woo commerce?

    am trying to do this.

    What im doing :
    when payments return success i copy paste your code from payments.php: call the wpdb you have in payments.php.

    next you have some lines :
    // enroll accordingly to course settings
    …….
    ………

    change these as appropriate..

    is it a right method? pls suggest.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bob

    (@prasunsen)

    I can’t quite follow sorry. You probably need a custom plugin.

    Thread Starter prashant.rais

    (@prashantrais)

    i would like to explain the use case;

    instead of selling the course via namaste enroll, one can put up woo-commerce or any shopping cart and sell the enrollment through it.
    now since the lms has to know about the payment via the cart, we need to program a database update in the cart code to insert approp. row in lms tables.

    this database update would be similar to the one you have written in payments.php ( Paypal code).

    My question is will this approach work.?

    Plugin Author Bob

    (@prasunsen)

    Yes, this should work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘integration with woo-commerce’ is closed to new replies.