Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7809297
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T03:23:28+00:00 2026-06-02T03:23:28+00:00

I am using Moodle 1.9 Paypal_enrolment plugin so that to access the course student

  • 0

I am using Moodle 1.9 Paypal_enrolment plugin so that to access the course student first pay the amount by paypal and then access the course.

I am following the steps given here:

http://docs.moodle.org/19/en/Paypal_enrolment

After implementing I want to test with Paypal Sanbox but facing some problem. How we can enable paypal sandbox so that I can test the flow in Paypal sandbox. Also check this link too http://moodle.org/mod/forum/discuss.php?d=171745 that elaborate similar problem as mine. Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T03:23:29+00:00Added an answer on June 2, 2026 at 3:23 am

    To enable the Paypal sandbox, you need to add the following line of code in config.php:

    $CFG->usepaypalsandbox = 'TRUE';
    

    Not sure if this has been fixed meanwhile, but you might also need to edit ipn.php to use SSL and port 443:

    $paypaladdr = empty($CFG->usepaypalsandbox) ? 'www.paypal.com' : 'ssl://www.sandbox.paypal.com';
    $fp = fsockopen ($paypaladdr, 443, $errno, $errstr, 30);
    

    More information:

    http://docs.moodle.org/dev/Enrolment_plugins#Note_about_Paypal_Sandbox

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using moodle but I need a better forum, so I was thinking that
I am using moodle and I change location of my web site, but I
I am using the Moodle database to query the latest forum posts made by
I am trying to install Moodle 1.9 using XAMPP on a virtual machine running
I am working on Moodle 2.2.1 and have created dynamic.csv files using certain queries.
Using LINQ on collections, what is the difference between the following lines of code?
Using Nunit, I want to be able to write a test fixture that will
I'm working on a new Moodle Assignment plugin. How can I include a custom
I have a project that uses the moodle library. I had to change the
I have my moodle setup using this guide ( Ubuntu 11.04 ) http://docs.moodle.org/dev/Install_Moodle_On_Ubuntu_with_Nginx/PHP-fpm I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.