RocketGate Gateway Python SDK
Project description
RocketGate Gateway Python SDK
The Python 3.x Software Development Kit and Test Scripts
Documentation is available in RocketGate's helpdesk at https://help.rocketgate.com/support/solutions/28000015702
Docs related to this repository are located at:
- GatewayService: https://help.rocketgate.com/support/solutions/articles/28000018238-gatewayservice
- GatewayRequest: https://help.rocketgate.com/support/solutions/articles/28000018237-gatewayrequest
- GatewayResponse: https://help.rocketgate.com/support/solutions/articles/28000018236-gatewayresponse
- GatewayResponse Error / Decline Codes: https://help.rocketgate.com/support/solutions/articles/28000018169-gatewayresponse-error-decline-codes
Running integration tests
From the root of the project, using your installed Python Interpreter, run the following command:
python3 -m unittest discover ./tests -p '*.py'
Install RocketGate SDK
pip install RocketGate
Run examples
Clone this repository and run examples from ./examples folder
with python3 ./examples/AuthOnly.py
cd ~
git clone https://github.com/rocketgate/rocketgate-python-sdk
cd ~/rocketgate-python-sdk
python3 ./examples/AuthOnly.py
Expect to see output like:
Auth Only succeeded
GUID: 100019354857297
Response Code: 0
Reason Code: 0
AuthNo: 942499
AVS: None
CVV2: None
Card Hash: 8Yz0jmvTGdDaZV9g58L+9mJ+0jw2fodvgktC/jS8GSs=
Card Region: 1,2
Card Description: CLASSIC
Account: 70
Scrub: NEGDB=0,PROFILE=0,ACTIVITY=1
Using your local github clone for testing
If you want to test the modifications of your local version
set PYTHONPATH env variable with the path to your
local repository and you can run examples from ./examples folder.
cd ~
git clone https://github.com/rocketgate/rocketgate-python-sdk
cd ~/rocketgate-python-sdk
export PYTHONPATH=~/rocketgate-python-sdk
python3 ./examples/AuthOnly.py
Expect to see output like:
Auth Only succeeded
GUID: 10001935007BB5F
Response Code: 0
Reason Code: 0
AuthNo: 400966
AVS: None
CVV2: None
Card Hash: 8Yz0jmvTGdDaZV9g58L+9mJ+0jw2fodvgktC/jS8GSs=
Card Region: 1,2
Card Description: CLASSIC
Account: 70
Scrub: NEGDB=0,PROFILE=0,ACTIVITY=1
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rocketgate-3.8-py3-none-any.whl.
File metadata
- Download URL: rocketgate-3.8-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7254b8be99d8e3cef963a05a523c82a1a3c0bb7db38f555a8339068ef2f0ef1
|
|
| MD5 |
0b673f644388f3c5bfa6b46b9109a795
|
|
| BLAKE2b-256 |
3e80adb70826089d14f6989713d745908df4e5b853d87bffc817b3ee53bd085a
|
Provenance
The following attestation bundles were made for rocketgate-3.8-py3-none-any.whl:
Publisher:
release.yml on rocketgate/rocketgate-python-sdk
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
rocketgate-3.8-py3-none-any.whl -
Subject digest:
c7254b8be99d8e3cef963a05a523c82a1a3c0bb7db38f555a8339068ef2f0ef1 - Sigstore transparency entry: 710007160
- Sigstore integration time:
-
Permalink:
rocketgate/rocketgate-python-sdk@916f5a360a12e621ec637fa89b64cf6306105a43 -
Branch / Tag:
refs/tags/3.8 - Owner: https://github.com/rocketgate
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@916f5a360a12e621ec637fa89b64cf6306105a43 -
Trigger Event:
push
-
Statement type: