コード例 #1
0
ファイル: test_tasks.py プロジェクト: ralic/webpay
 def notify(self, payload, get_price, prices=None):
     get_price.return_value = (prices or {
         'prices': [{
             'price': '0.99',
             'currency': 'USD'
         }]
     })
     tasks.simulate_notify(self.payment_issuer,
                           payload,
                           trans_uuid=self.trans_uuid)
コード例 #2
0
ファイル: test_tasks.py プロジェクト: Witia1/webpay
 def notify(self, payload, get_price, prices=None):
     get_price.return_value = (
         prices or {'prices': [{'price': '0.99', 'currency': 'USD'}]})
     tasks.simulate_notify('issuer-key', payload,
                           trans_uuid=self.trans_uuid)
コード例 #3
0
ファイル: test_tasks.py プロジェクト: markh-bz/webpay
 def notify(self, payload):
     tasks.simulate_notify('issuer-key', payload,
                           trans_uuid=self.trans_uuid)
コード例 #4
0
ファイル: test_tasks.py プロジェクト: ferjm/webpay
 def notify(self, payload):
     tasks.simulate_notify('issuer-key',
                           payload,
                           trans_uuid=self.trans_uuid)