예제 #1
0
        def SalePaymentRequest(self, *args, **kwargs):
            if raise_zeep_fault:
                raise exceptions.Fault("FAKE ZEEP FAULT")

            if raise_zeep_error:
                raise exceptions.Error("FAKE ZEEP ERROR")
            return Result
예제 #2
0
        def bpPayRequest(self, *args, **kwargs):
            if raise_zeep_fault:
                raise exceptions.Fault('FAKE ZEEP FAULT')

            if raise_zeep_error:
                raise exceptions.Error('FAKE ZEEP ERROR')
            return returned_token
예제 #3
0
        def RequestOperation(merchantConfigurationID, encryptedRequest):
            token = returned_token

            if raise_zeep_fault:
                raise exceptions.Fault('FAKE ZEEP FAULT')

            if raise_zeep_error:
                raise exceptions.Error('FAKE ZEEP ERROR')
            return token
예제 #4
0
            def __init__(self, *args, **kwargs):
                if raise_zeep_fault:
                    raise exceptions.Fault("FAKE ZEEP FAULT")

                if raise_zeep_error:
                    raise exceptions.Error("FAKE ZEEP ERROR")