Skip to main content

Systempay API Client

Project description

Systempay (Banque Populaire) client for SOAP API.

Usage

from datetime import datetime
from systempay.client import Client, TEST

url = 'https://paiement.systempay.fr/vads-ws/ident-v2.1?wsdl'
shop_id = 'xxxxxxxxx'
certificate = 'xxxxxxxxxxxxxxxxx'

systempay = Client(url, shop_id, certificate, TEST, 'Europe/Paris')

ident = systempay.factory.create('identCreationInfo')

ident.transmissionDate = systempay.get_local_datetime_format(datetime.now())
ident.cardIdent = '3'
ident.cardNumber = '5138xxxxxxxxxxxx'
ident.cardNetwork = 'MASTERCARD'
ident.cardExpirationDate = systempay.get_utc_datetime_format(datetime(2015, 10, 1, 0, 0, 0))
ident.cvv = '999'
ident.customerMail = 'foo@bar.com'

signature = systempay.format_and_get_signature(ident)
r = systempay.service.identCreate(ident, signature)

Project details


Download files

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

Source Distribution

systempay-0.0.2.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file systempay-0.0.2.tar.gz.

File metadata

  • Download URL: systempay-0.0.2.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for systempay-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f002b2f9e68dbbc97e14c48ca5be51fb795b20130a6ff78c9fe7d899d2cb745a
MD5 f4bc72f6e92f869a9307bed87dd79255
BLAKE2b-256 b0b5af3e6d8ad39d4f491194fde2ac5e31d8c8b6e7ca0f1657fdb0085a36a9fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page