feat: add PayKilla payment provider

This commit is contained in:
3252a8
2026-06-04 13:32:15 +03:00
parent 1ccda9ebd1
commit c46aaad7e3
20 changed files with 1974 additions and 8 deletions
+16
View File
@@ -185,6 +185,22 @@ def test_remnashop_crypto_provider_currency_is_not_imported_as_setting_override(
}
assert "HELEKET_CURRENCY" not in heleket["overrides"]
paykilla = remnashop_payment_gateway_overrides(
{
"type": "PAYKILLA",
"currency": "USD",
"is_active": True,
"settings": {"public_key": "public", "secret_key": "secret"},
}
)
assert paykilla["overrides"] == {
"PAYKILLA_ENABLED": True,
"PAYKILLA_API_KEY": "public",
"PAYKILLA_SECRET_KEY": "secret",
}
assert "PAYKILLA_CURRENCY" not in paykilla["overrides"]
assert any("source currency was USD" in warning for warning in paykilla["warnings"])
def test_remnashop_unsupported_gateway_is_reported_without_overrides():
result = remnashop_payment_gateway_overrides(