Odessa Content Sharing  





  Register now   Forgot password ?

Receiving payments via Paypal

Php Exam Script Gold Lite version : Receiving payments via Paypal

1)Login into your Paypal business account
2)Click My Account -> Profile -> My selling tools

3)Click Update button on "Website preferences"
4)Turn on "Auto return"
5)Enter the below return url

http://LINK_TO_YOUR_QUIZ/login.php

6)Click My Account -> My profile -> My selling tools and click "Update button" on Instant Payment Notifications .

 

7)Turn on Notifications and enter Notification URL as below :

 

Open config.php file and enter below details 

  define("PAYPAL_ENABLED","yes"); //  yes , no . Turn it to yes if you want to receive payments from paypal
  define("PAYPAL_SHOW_BUY_BUTTON","yes"); // yes , no . Shows "Buy now" button on login page
  define("PAYPAL_SELLER_EMAIL",""); // enter your business e-mail of your paypal account
  define("PAYPAL_NOTIFY_SUCCESS_PAYMENT","no"); // yes , no . sends e-mail on success payment : but you need to configurate your mail settings
  define("PAYPAL_NOTIFY_FAIL_PAYMENT","no"); // yes , no . sends e-mail on success payment : but you need to configurate your mail settings
  define("PAYPAL_ACCEPT_AMOUNT","100"); // amount that you want to receive for the login . if amount will be less login will not enabled 
  define("PAYPAL_CURRENCY","USD"); // currency in which you want to receive money
  define("PAYPAL_DATA_NAME","Quiz payment"); // service name
  define("PAYPAL_USE_SANDBOX","yes"); // yes , no . After testing , turn it to "no"

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_USE_SANDBOX","yes") ; // change it from yes to no 

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

if you want enable login for all paypal users , then change 

define("PAYPAL_LOGIN_ONLY_PAID","yes");   // from yes to no 

if you want to enable login for only paid users change PAYPAL_LOGIN_ONLY_PAID from "no" to "yes"
 

 


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