PayPal problem with fresh installation 1.4.3

PayPal problem with fresh installation 1.4.3

by Martin Horak -
Number of replies: 18
Hello,
I setup Paypal as my default enrol plugin, but I can't see cost field in course settings.
In the code of edit.php I found that cost field should show only with $enrol = internal, when I changed it to paypal, then cost field showed up. Bug?
Thanks for help
Martin
- P.S. looking for developer, who will work with me on moodle. pay to discuss. System will be used for mandated continued education classes.
Average of ratings: -
In reply to Martin Horak

Re: PayPal problem with fresh installation 1.4.3

by Chardelle Busch -
Picture of Core developers

Hi Martin,

I assume you are talking about course/enrol.php?  The line should be:

$enrol = new enrolment_plugin();

Can you tell me the version number and date of the file you have?

Thanks,

Chardelle

P.S. Would you email me with more info regarding your P.S.

In reply to Chardelle Busch

Re: PayPal problem with fresh installation 1.4.3

by Robert Frank -

version = 2004083132

release = '1.4.3

I am having same problem, no paypal.  I looked in the course/enrol.php file and the line is as mentioned above:  $enrol = new enrolment_plugin();

But I cannot get paypal to appear.

In reply to Robert Frank

Re: PayPal problem with fresh installation 1.4.3

by Chardelle Busch -
Picture of Core developers

I've been unable to replicate any problems with PayPal.  Here's an idea.  I just did a fresh install last weekend on a test site.  There are 2 courses: 101 has a cost and 102 has a key and a cost (this site has been updated for this).  I have just made a demo admin account.  If you would like, go to the site and take a look at the enrollment setup page, the course settings page, site config, etc.  And see if you can find anything different from your site that might be causing the problem.  Go to:

www.onlinecoachingcenter.com/test and login with username: admin, password: 1234

Please post back if you find anything out. 

In reply to Chardelle Busch

Re: PayPal problem with fresh installation 1.4.3

by Robert Frank -

Course Fullname 101

Teacher: Admin User
Teacher: Teacher Demo
Teacher: Admin Demo


Notice: Undefined property: cost in /home/onlineco/public_html/test/enrol/paypal/enrol.php on line 76

Notice: Undefined property: cost in /home/onlineco/public_html/test/enrol/paypal/enrol.php on line 79
This is what your course is showing when viewing from category.  I looked at course setting, noticed there was no place to put cost of course in settings, so that would mean that course defaults to site cost value?
In reply to Robert Frank

Re: PayPal problem with fresh installation 1.4.3

by Robert Frank -
And by the way, thank you for letting me browse.  There was no configuration icon to click and see the rest of the setup, but that would leave the site vulnerable, I understand.  smile
In reply to Robert Frank

Re: PayPal problem with fresh installation 1.4.3

by Chardelle Busch -
Picture of Core developers
Hmm, I did not realize that you didn't get the admin block on the homepage as a "secondary" admin.  Anyway, those error messages are due to other stuff I was messing around with.  If you click on course settings, you should see the cost field in both courses.
In reply to Chardelle Busch

Re: PayPal problem with fresh installation 1.4.3

by Robert Frank -
I see it there, (cost)  but there is no such box in mine sad
In reply to Chardelle Busch

Re: PayPal problem with fresh installation 1.4.3

by Gerhard Mosbach -
You wrote: "I've been unable to replicate any problems with PayPal."

What version "e-x-a-c-t-l-y" are you using? When did you download it?


In reply to Martin Horak

Re: PayPal problem with fresh installation 1.4.3

by Martin Horak -
Hello everyone,
I give a try to version = 2004083131
an everything working great
but version = 2004083132 have this bug. Even it change the $enrol field in config table, it still not using paypal.
Martin
In reply to Martin Horak

Re: PayPal problem with fresh installation 1.4.3

by Gerhard Mosbach -
 $version = 2004083131;  is my current version, but there is no PayPal icon when setting up a course?

What to do?


In reply to Gerhard Mosbach

Re: PayPal problem with fresh installation 1.4.3

by André Krüger -
Picture of Core developers

Have you already made settings on site  user-->administration-->enrolments

There you have to choose paypal as your primary method for enrolment.

In reply to André Krüger

Re: PayPal problem with fresh installation 1.4.3

by Robert Frank -
Been there done that, it does not accept the change
In reply to Robert Frank

Re: PayPal problem with fresh installation 1.4.3

by Randy Vermaas -
Same problem over here!
In reply to Randy Vermaas

Re: PayPal problem with fresh installation 1.4.3

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Bug 2399 has just been fixed in MOODLE_14_STABLE (1.4.3+) and HEAD (1.5) ... it was caused by a checkin on Jan 9th (cvs:/moodle/lib/setup.php), which is why some people saw it and some didn't.

The downloads and anonymous CVS will take a while to catch up, but attached is a fresh copy of lib/setup.php for the current 1.4.3+ that will fix the problem.
In reply to André Krüger

Re: PayPal problem with fresh installation 1.4.3

by Gerhard Mosbach -
yes i did so. but on my local xampp test installation there does nt appear paypal option

i am using moodle-15 from today .-)

any ideas ?