#Log in users with PayPal using PHP
- Create a new PayPal app: https://developer.paypal.com/developer/applications
- Don't forget to set the return page URL
- Get credentials:
- Edit index.php and set $paypal_client_id, $paypal_secret and $app_return_url
- (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/)