https://github.com/devkral/web-payments-paypal
Paypal backend
https://github.com/devkral/web-payments-paypal
Last synced: 7 months ago
JSON representation
Paypal backend
- Host: GitHub
- URL: https://github.com/devkral/web-payments-paypal
- Owner: devkral
- License: other
- Created: 2018-03-20T10:08:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T12:41:00.000Z (over 7 years ago)
- Last Synced: 2025-03-09T11:36:42.185Z (8 months ago)
- Language: Python
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
web-payments-paypal
===================
Status
------
PaypalProvider works
PaypalCardProvider may make issues, test first (I have no credit card)
Usage
-----
add ProviderVariant to PAYMENT_VARIANTS_API or to list_providers:
``` python
# normal
ProviderVariant('web_payments_paypal.PaypalProvider', {
"client_id": "",
"secret": "",
"endpoint": 'https://api.sandbox.paypal.com'
"capture": True
},
{}
)
# with credit card
ProviderVariant('web_payments_paypal.PaypalCardProvider', {
"client_id": "",
"secret": "",
"endpoint": 'https://api.sandbox.paypal.com'
"capture": True
},
{}
)
```