Skip to main content
"""
SatchmoBeanstream module currently only support Purchase transactions.

We're not using LiveSettings for storing Credentials, because Livesettings should be disabled in production anyways, so store the Beanstream credentials in your SETTINGS.py file instead, with the following syntax:

BEANSTREAM_CREDENTIALS = {
'username' : 'MY_USER',
'password' : 'MY_PASS',
'merchant_id' : 'MY_MERCHANT_ID'
}

How to install:
pip install SatchmoBeanstream

Add it to installed apps in your settings file.:

"""
INSTALLED_APPS = (
#....
'payment',
'payment.modules.beanstream',
#....
)
"""

Add the settings to livesettings:
** Note, you can use the livesettings DB storage if you wish, but I recommend using 'DB': False and setting the livesettings manually in the settings.py file instead.
** NOTE2, important! 'LIVE' option does nothing right now (in the satchmobeanstream module anyways...), so if you specify production credentials in BEANSTREAM_CREDENTIALS, it will start charging real money, if you use test credentials, it will do test transactions.
"""

LIVESETTINGS_OPTIONS = {
1 : { # Your site ID
#....
'SETTINGS' : {
'PAYMENT_BEANSTREAM' : {
'CREDITCHOICES' : '[\"Visa\", \"Mastercard\"]',
'LIVE': 'True',
'ORDER_EMAIL_OWNER': 'True',
'ORDER_EMAIL_EXTRA': 'myemail@derp.com',
},
},
},
}

"""
Testing:

Create a test_settings.py and specify your test credentials from beanstream in there, then:

./manage.py test payment.modules.beanstream --settings=test_settings --nologcapture -s

Note: You may get an error from suds that look like this:

File "<some path>/site-packages/suds/sax/document.py", line 48, in str
s.append(self.root().str())
AttributeError: 'NoneType' object has no attribute 'str'
Logged from file core.py, line 73

Don't worry about it, i'm still not sure why, but the SOAP transaction DOES happen if the test passes.
"""

Metadata

Release files for SatchmoBeanstream 0.2

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

Source distribution (sdist)

Source distribution for SatchmoBeanstream 0.2
File Size Uploaded Provenance Actions
SatchmoBeanstream-0.2.tar.gz 6.9 kB Without provenance Details for SatchmoBeanstream-0.2.tar.gz

Release files / SatchmoBeanstream-0.2.tar.gz

Download URL SatchmoBeanstream-0.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
82b5750509d10bb3c2f907f91fb385c0e5ebb8272f87275ca8c729e651abf813
BLAKE2b-256 checksum
How to use checksums
95d34faad46efc01a0ebad8402d6f1d438bbff8446998e61ab2fca708cc8ad37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for SatchmoBeanstream 0.2

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.2 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