Skip to content

overcastsoftware/python-saltpay

Repository files navigation

Build Status

Teya (SaltPay (Borgun)) python library

Python implementation of the Teya (SaltPay (Borgun)) payments solution RPG. See https://docs.borgun.is/paymentgateways/bapi/.

Test coverage

Screenshot 2021-04-16 at 16 45 31

Testing

You need to create a pytest.ini file in the project root with the following contents, you need to fill in the credentials supplied by Saltpay:

[pytest]
env =
    SALTPAY_APIKEY=<APIKEY>
    SALTPAY_TEST_CARD=number:<test_number>,month:<test_month>,year:<test_year>,cvv:<test_cvv>,virtual:<virtual_test_number>

Running tests

You can run the whole suite:

    make test

Or pick your module to test:

    make test_currencies
    make test_saltpay

Releases

No releases published

Packages

No packages published