ATutor

Learning Management Tools







Pages:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15


I need some clarification


  • 2007-07-01 09:06:57

    I need some clarification

    I am currently using the payments module. I wanted to know if there's a way I can configure the account validity of the user. For example, if the user pays $5, his account should be valid for 1 month in a particular course and the next month for another course. Is there any way I could do that?

  • 2007-07-01 09:16:28

    Re: I need some clarification

    I'll be more clear.

    I offer a solo package and a combined package:

    Both packages have to stay active for an indefinite time. The combined package contains two courses. From the day, the student starts accessing the first course, the login should work for 1 month and after that he should be automatically unenrolled out of the course. And when he starts using the second course, it should be activated and should stay for 1 more month. Hope I'm making some sense.

  • 2007-07-01 11:55:54

    Re: I need some clarification

    Payments through the module only apply to one course at a time. And, there is no auto-unenroll when the course ends, though you could program an auto-unenroll based on a course end date without too much trouble, if you know some php.

    As for access to the second course, the course start date could be used to make the course available after a certain date.

    If you want to set the month the course is available on a student by student basis, there's nothing currently that would allow you to do that.

  • 2007-07-01 12:28:42

    Re: I need some clarification

    Oh... Thank you greg for the reply. Could you tell me what tables I need to modify to achieve the same? Only if you have some time to spare ofcourse...

  • 2007-07-01 12:32:21

    Re: I need some clarification

    And one more thing if I may ask:

    The payment module asks me the following:

    Credit card processing location URL:
    Vendor ID assigned by credit card payment service:

    I've established a Premiere Account in PayPal but where would I find them? I don't understand what those two mean. I tried using the Buy Now buttons, but that button is a method-post button that does not have a url associated directly. I would really appreciate an advice from your side.

  • 2007-07-01 13:05:15

    Re: I need some clarification

    You'd add an end_date field to the courses table, and modify html/course_properties.inc.php and /include/lib/course.inc.php to add/retreive/display the value for end_date.

    See the readme file with the payments module for details about setting up PayPal /mods/ecomm/readme

  • 2007-07-01 13:20:13

    Re: I need some clarification

    Thank you. I'll be on that work.

    PS: That readme unfortunately doesn't contains the solution to my answer. I'm new even to paypal and so am unable to find out. Please help me out if you can.

  • 2007-07-01 13:55:01

    Re: I need some clarification

    Your ID is probably an email address, and the URL is as described in the readme.

    https://www.paypal.com/cgi-bin/webscr

    You might want to setup a sandbox account and test the payment module before implementing it on your live site.

    https://www.sandbox.paypal.com/cgi-bin/webscr

    Refer to the PayPal documentation if you need more info https://www.paypal.com/cgi-bin/webscr?cmd=p/xcl/rec/singleitem-manual-outside

  • 2007-07-01 13:56:51

    Re: I need some clarification

    Oh Thank you so much greg. I was really confused with the Vendor ID. Thank you once again.