Skip to content

andrisalnis/log-in-with-paypal-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Log in users with PayPal using PHP

  1. Create a new PayPal app: https://developer.paypal.com/developer/applications
  2. Don't forget to set the return page URL
  3. Get credentials: alt tag
  4. Edit index.php and set $paypal_client_id, $paypal_secret and $app_return_url
  5. (Optional) If you want to grab more than just user's email & paypal id then change information requested from customers in your PayPal app's settings and set $scope in index.php (more info: https://developer.paypal.com/docs/integration/direct/identity/attributes/)

About

Example that shows how to let a user log in with PayPal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages