debits.paypal package¶
Submodules¶
debits.paypal.form module¶
-
class
debits.paypal.form.PayPalForm[source]¶ Bases:
debits.debits_base.processors.BasePaymentProcessorBase class for processing submit of a PayPal form.
debits.paypal.models module¶
-
class
debits.paypal.models.PayPalAPI[source]¶ Bases:
objectPayPal API.
This code only provides a subset of the possible functionality, for something more comprehensive see https://github.com/paypal/PayPal-Python-SDK To login into PayPal we use a Bearer from https://api.paypal.com/v1/oauth2/token with secret from https://developer.paypal.com/developer/applications
-
class
debits.paypal.models.PayPalProcessorInfo(id)[source]¶ Bases:
django.db.models.base.Model-
exception
DoesNotExist¶
-
exception
MultipleObjectsReturned¶
-
id¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
objects= <django.db.models.manager.Manager object>¶
-
exception
debits.paypal.utils module¶
debits.paypal.views module¶
-
class
debits.paypal.views.PayPalIPN(**kwargs)[source]¶ Bases:
debits.debits_base.processors.PaymentCallback,django.views.generic.base.ViewThis class processes all kinds of PayPal IPNs.
All its methods are considered internal.
-
dispatch(request, *args, **kwargs)¶
-