Debian Codegraph @

docs/socialaccount/providers/paypal.rst

raw
1 Paypal
2 ------
3
4 The following Paypal settings are available:
5
6 .. code-block:: python
7
8 SOCIALACCOUNT_PROVIDERS = {
9 'paypal': {
10 'SCOPE': ['openid', 'email'],
11 'MODE': 'live',
12 }
13 }
14
15 SCOPE:
16 In the Paypal developer site, you must also check the required attributes
17 for your application. For a full list of scope options, see
18 https://developer.paypal.com/docs/integration/direct/identity/attributes/
19
20 MODE:
21 Either ``live`` or ``test``. Set to test to use the Paypal sandbox.
22
23 App registration (get your key and secret here)
24 https://developer.paypal.com/webapps/developer/applications/myapps
25
26 Development callback URL
27 http://example.com/accounts/paypal/login/callback