summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValentin Deniaud <vdeniaud@entrouvert.com>2020-05-18 15:57:05 (GMT)
committerValentin Deniaud <vdeniaud@entrouvert.com>2020-05-18 15:59:09 (GMT)
commitc038a9f2d0e6106f9a6f16bdde1ca2acc7871f4f (patch)
treea60170a955f941d82c3f0333d87dd154ab31b85d
parent6e96d123ba775dafd99aa6f507093303f54f9ddc (diff)
downloadeopayment-c038a9f2d0e6106f9a6f16bdde1ca2acc7871f4f.zip
eopayment-c038a9f2d0e6106f9a6f16bdde1ca2acc7871f4f.tar.gz
eopayment-c038a9f2d0e6106f9a6f16bdde1ca2acc7871f4f.tar.bz2
keyware: remove payment_methods parameter (#43030)
-rw-r--r--eopayment/keyware.py7
-rw-r--r--tests/test_keyware.py1
2 files changed, 0 insertions, 8 deletions
diff --git a/eopayment/keyware.py b/eopayment/keyware.py
index 4748527..6a41337 100644
--- a/eopayment/keyware.py
+++ b/eopayment/keyware.py
@@ -54,11 +54,6 @@ class Payment(PaymentCommon):
'caption': _('API key'),
'required': True,
},
- {
- 'name': 'payment_methods',
- 'caption': _('Allowed payment methods'),
- 'type': list,
- },
],
}
@@ -76,8 +71,6 @@ class Payment(PaymentCommon):
'last_name': last_name,
}
}
- if self.payment_methods:
- body['payment_methods'] = self.payment_methods
resp = self.call_endpoint('POST', 'orders', data=body)
return resp['id'], URL, resp['order_url']
diff --git a/tests/test_keyware.py b/tests/test_keyware.py
index 3d850e5..912d2f9 100644
--- a/tests/test_keyware.py
+++ b/tests/test_keyware.py
@@ -146,7 +146,6 @@ def keyware():
'normal_return_url': RETURN_URL,
'automatic_return_url': WEBHOOK_URL,
'api_key': API_KEY,
- 'payment_methods': ['ideal'],
})