|- python-sdk |- dist/ |- PayZippySDK-0.1.0.tar.gz |- django/ |- static/ |- config.ini |- settings.py |- urls.py |- views.py |- examples/ |- charging-iframe/ |- charging-master/ |- charging-minimal/ |- charging-redirect/ |- common/ |- query/ |- refund/ |- response/ |- index.html |- payzippysdk/ |- ChargingRequest.py |- ChargingResponse.py |- CommonUtil.py |- Config.py |- Constants.py |- HashUtil.py |- QueryRequest.py |- QueryResponse.py |- QueryTransactionResponse.py |- RefundRequest.py |- RefundResponse.py |- RefundTransactionResponse.py |- ValidityCheck.py
To install the SDK
/dist/PayZippySDK-0.1.0.tar.gz
by running the command gunzip <
PayZippySDK-0.1.0.tar.gz | tar xvf -
in your terminal
PayZippySDK-0.1.0
python setup.py install
in your terminal(Make sure you have python installed in
your computer)
To run the examples
examples
folder as the template directory in your Django project.config.ini
from the directory django/
to your Django project.static
from the directory django/
to your Django project.views
definition from the file django/views.py
to views.py
file in your Django project.
urls
definition(including the imports) from the file django/urls.py
to
urls.py
file in your Django project.
BASE_DIR, STATIC_URL, STATICFILES_DIRS, TEMPLATE_DIRS
declarations from the file
django/settings.py
to settings.py
file in your Django project.
config.ini
file.MERCHANT_ID
Your Merchant IDSECRET_KEY
Your Secret Key for the Payzippy API. Do not share this!CALLBACK_URL
The URL that the Charging API would call on transaction completion. For
the examples provided,
this should point to
:
/chargingresponse
as defined in the file urls.py
To check out the sample SDK integrations, go the SDK Integration Examples page.