Commit a91456c9 authored by Łukasz Nowak's avatar Łukasz Nowak

Propose some methods.

parent c110b04b
......@@ -41,3 +41,13 @@ class PayzenService(XMLObject):
"""See Payment Service Interface Documentation"""
raise NotImplementedError
return self._getTypeBasedMethod("abortPayment")(**kw)
# proposed methods
def getFormString(self, document, **kw):
"""Returns form string of against passed document"""
def getSignature(self, document):
"""Returns signature for current document"""
def validateSignature(self, document, signature):
"""Checks if documents validates against signature"""
15
\ No newline at end of file
16
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment