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
Release history Release notifications | RSS feed
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.10.tar.gz
(6.0 kB
view details)
File details
Details for the file systempay-0.0.10.tar.gz
.
File metadata
- Download URL: systempay-0.0.10.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f79e1e96d315f6b5c5935b716872b971df9c155f1fefb5e747801739f03cc73 |
|
MD5 | 8541685835c0607c90b3909b78f59858 |
|
BLAKE2b-256 | b18e52b3b302cb799111f210f022470d98f1d712fd7154f07fe4fa8c66e44bd4 |