Odessa Content Sharing  





  Register now   Forgot password ?

Receiving payments with Paypal

els Odessa Content Sharing : Receiving payments with Paypal

Integration Php Web Quiz with Paypal

 

To integrate with paypal you need to have business account , not personal .

* It will be better if you test Paypal with Sandbox account before

1) Open config.php file and enter you paypal account details

  define("PAYPAL_ENABLED","yes"); // no/yes enable disable integration with paypal

  define("PAYPAL_SELLER_EMAIL","els11@yandex.ru"); // email of your business paypal account

  define("PAYPAL_NOTIFY_SUCCESS_PAYMENT","yes"); // yes/no receive e-mails on success payment

  define("PAYPAL_NOTIFY_FAIL_PAYMENT","yes"); // yes/no receive e-mails on fail payment

  define("PAYPAL_CURRENCY","USD"); // currency of your paypal account

  define("PAYPAL_DATA_NAME","Load balance"); // Data name during the payment

  define("PAYPAL_USE_SANDBOX","yes"); // yes/no .   yes = sandbox , no = production

2) Login into your Paypal business account

3) Click My Account -> Profile -> My selling tools

 

4) Click Update button on "Website preferences"

 

5) Turn on "Auto return"

6) Enter the below return url

http://YOUR_SITE/index.php?module=cms_my_balance&check=1

In our web site , the return URL is : http://phpexamscript.net/phpwebquiz_business/index.php?module=my_balance&check=1

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

8)   Turn on Notifications and enter Notification URL as below

http://YOUR_SITE/modules/system/payment_methods/paypal/ipn.php

In our web site the Notification URL is :

http://phpexamscript.net/els_odessa_content_sharing/modules/system/payment_methods/paypal/ipn.php

 

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

All payments will be storing in els_payment_orders table


Installing
els Odessa Content Sharing : Installing

Categories : Create Category
els Odessa Content Sharing : Categories : Create Category

Categories : Manage categories
els Odessa Content Sharing : Categories : Manage categories

Pages : Manage pages
els Odessa Content Sharing : Pages : Manage pages

Pages : Create new page
els Odessa Content Sharing : Pages : Create new page

Pages : Add files , Add thumbnail, Add video
els Odessa Content Sharing : Pages : Add files , Add thumbnail, Add video

Menu management
els Odessa Content Sharing : Menu Management

Users Management : Roles
els Odessa Content Sharing : Users Management : Roles

Users Management : User groups
els Odessa Content Sharing : Users Management : User groups

Users Management : Users
els Odessa Content Sharing : Users Management : Users

Ratings
els Odessa Content Sharing : Ratings

Clouds
els Odessa Content Sharing : Clouds

Mail configuration
els Odessa Content Sharing : Mail configuration

Configuration on config.php file
els Odessa Content Sharing : Configuration on config.php file

Localization
els Odessa Content Sharing : Localization

System structure and Templates
els Odessa Content Sharing : System structure and Templates

Receiving payments with Paypal
els Odessa Content Sharing : Receiving payments with Paypal