Skip to main content

A django-payments backend for the Redsys payment gateway

Project description


A RedsysSermepa payment gateway backend for django-payments.


pip install django-payments-redsys


  • merchant_code (required): Merchant Code - Redsys parameter.
  • terminal (required): Terminal - Redsys parameter.
  • shared_secret (required): Terminal Key - Redsys parameter.
    • "obtained by accessing the Administration Module, Merchant Data Query option in the 'See Key' section"
  • currency (default:'978'): ISO-4217 currency code.
  • endpoint (default:'': desired endpoint.
  • order_number_prefix (default:'0000'): Payment PK is suffixed to this to create Redsys order number
  • signature_version (default:'HMAC_SHA256_V1'): Only supported signature type.

    'redsys': ('payments_redsys.RedsysProvider', {
        'merchant_code': '123456789',
        'terminal': '1',
        'shared_secret': 'qwertyasdf0123456789',

CHECKOUT_PAYMENT_CHOICES = [('redsys', 'Redsys')]

if any('redsys' in provider for provider in CHECKOUT_PAYMENT_CHOICES):

Copyright (C) 2018 AJ Ostergaard

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-payments-redsys, version 0.3.post1
Filename, size File type Python version Upload date Hashes
Filename, size django-payments-redsys-0.3.post1.tar.gz (17.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page