Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://travis-ci.org/coolshop-com/AltaPay.svg :target: https://travis-ci.org/coolshop-com/AltaPay
.. image:: https://codecov.io/github/coolshop-com/AltaPay/coverage.svg?branch=master :target: https://codecov.io/github/coolshop-com/AltaPay?branch=master
.. image:: https://img.shields.io/pypi/v/altapay.svg :target: https://pypi.python.org/pypi/altapay
This is an unofficial Python SDK for Valitor (formerly AltaPay/Pensio), https://altapay.com/. The SDK is maintained by Coolshop.com, https://www.coolshop.com/.
Documentation is available at Read the Docs <http://altapay.readthedocs.org/en/latest/>
_.
Other versions of Python may also be supported, but these are the only versions we test against.
Dependencies ++++++++++++
The easiest way is using pip.
.. code:: python
pip install altapay
Refer to the introduction on the documentation <http://altapay.readthedocs.org/en/latest/>
_ for some getting started use cases.
Currently, this library only implements the bare minimum of the AltaPay API. It will allow you to create payment links, and do basic subscription functionality. If you need anything else, feel free to submit a full request, or if you have ideas, open an issue.
If you do decide to submit a pull request, do note that both isort and flake8 (including pep8-naming) are run for all pull requests. You are also advised to write test cases.
Running the Tests
+++++++++++++++++
First of all, have tox <http://tox.readthedocs.org/en/latest/>
_ installed on your system. System-wide is probably the better choice. Once you have tox installed, simply run:
.. code:: python
tox
This will run all tests, against all supported Python versions.
1.4.1 (2019-06-26) ++++++++++++++++++
** Python support **
1.4.0 (2019-06-24) ++++++++++++++++++
Features
altapay.Transaction.chargebacks()
which returns the chargeback events as custom objects.1.3.0 (2017-10-20) ++++++++++++++++++
Features
altapay.Transaction.refund()
with functionality for refunding a transaction, both full and partial.1.2.1 (2016-11-02) ++++++++++++++++++
Bugfix
1.2.0 (2016-04-19) ++++++++++++++++++
Features*
altapay.FundingList
and altapay.Funding
. These two objects will interact with the funding list features of AltaPay, and will allow you to both list all of your funding files, as well as download individual files. Currently no guide section is written on the subject, but full API documentation is availablealtapay.CustomReport
which mimics the custom reporting module of AltaPay. Using a custom report ID and additional kwargs based on the report, you can either view or download your custom reports1.1.0 (2016-04-12) ++++++++++++++++++
1.0.1 (2016-03-15) ++++++++++++++++++
API Change
altapay.Transaction.capture()
will now return an altapay.Callback
object instead of a altapay.Transaction
object1.0 (2016-03-03) ++++++++++++++++
First Production Release
Features
altapay.Transaction.release()
1.0.dev9 (2016-02-26) +++++++++++++++++++++
Improvements
altapay.Transaction.create_invoice_reservation()
to altapay.Callback.create_invoice_reservation()
. The method will now return a altapay.Callback
object in order to read the result key (#41)1.0.dev8 (2016-02-22) +++++++++++++++++++++
Features
altapay.Transaction.create_invoice_reservation()
1.0.dev7 (2016-02-17) +++++++++++++++++++++
Improvements
altapay.Transaction.reserve()
to altapay.Transaction.reserve_subscription_charge()
1.0.dev6 (2016-02-17) +++++++++++++++++++++
Features
altapay.Transaction.reserve()
which will reserve an amount on a subscription1.0.dev5 (2016-02-11) +++++++++++++++++++++
Improvements
altapay.Transaction.charge_subscription()
. It will not return a altapay.Callback
object instead of a list of transactionsaltapay.Callback.transactions()
to be keyword only. Will now accept any number of filters, and these will be matched using AND logic1.0.dev4 (2016-02-03) +++++++++++++++++++++
Features
altapay.Transaction.charge_subscription()
which will charge a subscription on a transaction, if this transaction is setup as a subscriptionBugfixes
KeyError
(#32)0.1.dev3 (2016-01-18) +++++++++++++++++++++
Bugfixes
altapay.Callback
object might result in a KeyError
(#25)Improvements
0.1.dev2 (2016-01-14) +++++++++++++++++++++
Features
altapay.Transaction
and the ability to find a transaction by its transaction ID in the AltaPay servicealtapay.Transaction.capture()
which captures a transaction that has already been loaded. Optinally, parameters can be passed which allows for partial captures (see the AltaPay documentation for full list of possible arguments)altapay.utils.xml_to_dict
)altapay.Callback
which wraps a callback response from AltaPay, and automatically wraps the coupled transactions in altapay.Transaction
objectsBugfixes
altapay.Payment
object would result in altapay.Payment.success
returning True
0.1.dev1 (2016-01-05) +++++++++++++++++++++
0.1.dev0 (2015-12-18) +++++++++++++++++++++
altapay.api.API
altapay.payment.Payment
which is currently mainly for creating a very basic payment request with the AltaPay serviceFAQs
Unofficial Python SDK for Valitor (formerly AltaPay/Pensio).
We found that altapay demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.