I have multiple course and student who logging in will come to see course listed. Since i have enrolled this course for this student and integrated paypal i am not able to see payment page once i click the course though i configured from paypal side and also moodle admin side.
Please guide me with each steps to integrate paypal.
Output should be like once i click the course after student logged in.. they should click a button to pay for that course.
NOTE: Is that important to register moodle site. Beacuse my moodle site is running now on localhost.
I've not worked with the Paypal plugin at all, but I don't expect it will work when your site is running on localhost.
When you use a payment system like Paypal, it needs to send data back to your Moodle server to tell it that the payment was successful. If you've told it your address is localhost, it will just be sending the data back to itself, rather than to you. You probably need your site to be accessible via the Internet.
I just added updates to this page a few days ago, with additional information you are going to need. Once a user is enrolled in the course, you will no longer see the PayPal enrollment feature. View it from a user who is not in the course.