Odessa Content Sharing  





  Register now   Forgot password ?

Allowing users to login with their Paypal account

Php Exam Script Gold Lite version : Allowing users to login with their Paypal account

1)Login into your Paypal business account

2)Click Applications->My Apps ,  and click “create app” button 

3) Call it “php web quiz “ and set the below details

Enter App return url as below : http://LINK_TO_YOUR_QUIZ/login.php

4) Client ID and secret you will need to enter to your config.php file

 

5) Click “Login with paypal “ and “Accept payments” button 

6) Click on “Advenced options” link on “Login with paypal” checkbox and click “full name” and “Email address” and save

7) Open config.php file and enter below details 

  define("PAYPAL_LOGIN","yes"); // yes , no . If you want to enable Login with paypal , turn it to "yes"
  define("PAYPAL_SCOPE","openid email profile"); // do not change 
  define("PAYPAL_CLIENTID",""); // Client ID of Paypal application
  define("PAYPAL_SECRET",""); // Secret code of Paypal application
  define("PAYPAL_LOGIN_USE_SANDBOX","yes"); // yes , no . After testing , turn it to "no"
  define("PAYPAL_SHOW_ERROR","yes"); // yes , no . Displays error that comes from Paypal
  define("PAYPAL_LOGIN_ONLY_PAID","yes"); // yes , no . Turn it to "yes" if you want to restrict access only to paid users , and turn it to no if you want all paypal users to be able to login
  define("PAYPAL_ERROR","You need to pay before logining in");

-------------------------------------------------------------------------------------------------------------------

Please, do all this steps with your sandbox account (test account) after testing change it to production account and change this line in config.php file 

define("PAYPAL_LOGIN_USE_SANDBOX","yes"); // change it from yes to no 
 


Step 1 : Installation
Php Exam Script Gold Lite version : How to install ?

Step 2 : User management
Php Exam Script Gold Lite version : How to create users ?

Step 3 : Quiz and Question management
Php Exam Script Gold Lite version : How to create quizzes and questions ?

Step 4 : Creating Assignment ( Exam )
Php Exam Script Gold Lite version : How to create exams ?

Step 5 : Starting exam
Php Exam Script Gold Lite version : How to start exams ?

Creating rating that uses login box
Php Exam Script Gold Lite version : Creating rating that uses login box

Creating rating that uses IP Address
Php Exam Script Gold Lite version : Creating rating that uses IP Address

Allowing users to login with their Paypal account
Php Exam Script Gold Lite version : Allowing users to login with their Paypal account

Receiving payments via Paypal
Php Exam Script Gold Lite version : Receiving payments via Paypal