Skip to main content

# djangoshop-wspay

[![PyPI version](https://img.shields.io/pypi/v/djangoshop-wspay.svg)](https://pypi.python.org/pypi/djangoshop-wspay)

[WSPay](https://www.wspay.info/) Payment Integration for [djangoSHOP](http://www.django-shop.org).

—

## Requirements

  • [django-shop]

## Installation

Install using pip:

`bash pip install djangoshop-wspay `

Add the following to your settings:

`python INSTALLED_APPS += ['shop_wspay'] SHOP_CART_MODIFIERS += ['shop_wspay.modifiers.WSPayPaymentModifier'] SHOP_ORDER_WORKFLOWS += ['shop_wspay.payment.WSPayWorkflowMixin'] SHOP_DEFAULT_CURRENCY = 'HRK' # WSPay requires you to send amount in Croatian kuna. SHOP_WSPAY_SHOP_ID = '<shopID>' # WSPay shop ID. SHOP_WSPAY_SECRET_KEY = '<secretKey>' # WSPay secret key. `

Additional settings with defaults:

`python SHOP_WSPAY_FORM_URL = 'https://form.wspay.biz/Authorization.aspx' # Set to 'https://formtest.wspay.biz/Authorization.aspx' for testing. SHOP_WSPAY_PAYMENT_VIEW = False # Set if a separate payment view should be rendered before sending to wspay. SHOP_WSPAY_CART_URL = SHOP_CART_URL = 'shop:cart-list' # Url of a cart, used to redirect in some cases. SHOP_WSPAY_THANK_YOU_URL = SHOP_THANK_YOU_URL = None # Thank you url, if None latest order is used. SHOP_WSPAY_COMMISION_PERCENTAGE = None # Set to add commision percentage for purchase via WSPay. SHOP_WSPAY_MODIFIER_CHOICE_TEXT = 'WSPay' # Text displayed as a choice for selecting wspay payment. SHOP_WSPAY_ERROR_MESSAGE = None # Message added to django messages framework if there's a transaction error. SHOP_WSPAY_CANCEL_MESSAGE = None # Message added to django messages framework if transaction is canceled. SHOP_WSPAY_SUCCESS_MESSAGE = None # Message added to django messages framework transaction is successful. `

[django-shop]: https://github.com/awesto/django-shop

Metadata

Release files for djangoshop-wspay 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djangoshop-wspay 0.1.2
File Size Uploaded Provenance Actions
djangoshop-wspay-0.1.2.tar.gz 8.4 kB Without provenance Details for djangoshop-wspay-0.1.2.tar.gz

Release files / djangoshop-wspay-0.1.2.tar.gz

Download URL djangoshop-wspay-0.1.2.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
16cbe096cea060bab2db9966637649a16f90ae498ad84b9f62c8ce899076e5f1
BLAKE2b-256 checksum
How to use checksums
c95da69dd1b3dcb52ec3fdf6809b2aa8673d0f545289de2ec2d03cf774f34d22
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

Security for djangoshop-wspay 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page