From 6489b09019b9fb02e43e5c2867657fc8f4ebb85f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sun, 21 Aug 2016 12:48:15 +0200 Subject: [PATCH] dummy: add stub validate/cancel methods (#12891) --- eopayment/dummy.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eopayment/dummy.py b/eopayment/dummy.py index 3c02f14..816d941 100644 --- a/eopayment/dummy.py +++ b/eopayment/dummy.py @@ -145,6 +145,12 @@ class Payment(PaymentCommon): test=True) return response + def validate(self, amount, bank_data, **kwargs): + return {} + + def cancel(self, amount, bank_data, **kwargs): + return {} + if __name__ == '__main__': options = { 'direct_notification_url': 'http://example.com/direct_notification_url',