An open API service indexing awesome lists of open source software.

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

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
},
{}
)

```