Skip to main content
===================================
Unicredit package for django-oscar
===================================

This package provides integration between django-oscar_ and `Unicredit`_.

.. _django-oscar: https://github.com/tangentlabs/django-oscar

Support
-------

Having problems or got a question?

* write to me an email info@marcominutoli.it

---------------
Getting started
---------------

Add 'unicredit' in your INSTALLED_APPS::


Add the following settings using the details from your sandbox buyer account::

UNICREDIT_ID_ESERCENTE = 'XXXXXX'
UNICREDIT_STABILIMENTO = 'XXXXX'
UNICREDIT_USERID = 'XXXXX'
UNICREDIT_PASSWORD = 'XXXXXX'
UNICREDIT_STRINGA_SICUREZZA = 'XXXXXXXX'


Next, you need to add the Unicredit URLs to your URL config. This can be done as
follows::

from django.contrib import admin
from oscar.app import shop

urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^checkout/unicredit/', include('unicredit.urls')),
(r'', include(shop.urls)),


To insert the UNICREDIT button in your template ``templates/oscar/checkout/preview.html`` aggiungendo::

<form method="post" action="{% url 'unicredit-direct-payment' %}" id="place-order-form-unicredit">
{% csrf_token %}
<input type="hidden" name="action" value="place_order"/>

<div class="form-actions">
<button id='place-order' type="submit" class="pull-right btn btn-primary btn-large js-disable-on-click"
data-loading-text="{% trans 'Submitting...' %}">Paga con unicredit
</button>
</div>
</form>

Metadata

Release files for django-oscar-unicredit 0.1.1

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

Source distribution (sdist)

Source distribution for django-oscar-unicredit 0.1.1
File Size Uploaded Provenance Actions
django-oscar-unicredit-0.1.1.tar.gz 6.0 kB Without provenance Details for django-oscar-unicredit-0.1.1.tar.gz

Release files / django-oscar-unicredit-0.1.1.tar.gz

Download URL django-oscar-unicredit-0.1.1.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
58be1dd0d5e4aaac85752fd7733965f0c5ffff64f662eb3566a120d1bd2c77ef
BLAKE2b-256 checksum
How to use checksums
cd9ac427f62ea193e4fded043c1d85d8c1f6ead1cefbd7be5fd2183a3292b9ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-oscar-unicredit 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file No provenance

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