def notify(self, get_transaction): get_transaction.return_value = { 'status': constants.STATUS_COMPLETED, 'notes': {'pay_request': self.payload(), 'issuer_key': 'k'}, 'type': constants.TYPE_PAYMENT, 'uuid': self.trans_uuid } with self.settings(INAPP_KEY_PATHS={None: sample}, DEBUG=True): tasks.payment_notify('some:uuid')
def notify(self, get_transaction): get_transaction.return_value = { 'status': constants.STATUS_COMPLETED, 'notes': { 'pay_request': self.payload(), 'issuer_key': 'k' }, 'type': constants.TYPE_PAYMENT, 'uuid': self.trans_uuid } with self.settings(INAPP_KEY_PATHS={None: sample}, DEBUG=True): tasks.payment_notify('some:uuid')
def notify(self, get_transaction): get_transaction.return_value = { "status": constants.STATUS_COMPLETED, "notes": { "pay_request": self.payload(), "issuer_key": self.iss.issuer_key, "issuer": Issuer.objects.get(pk=self.iss.pk), }, "type": constants.TYPE_PAYMENT, "uuid": self.trans_uuid, } with self.settings(INAPP_KEY_PATHS={None: sample}, DEBUG=True): tasks.payment_notify("some:uuid")
def notify(self, get_transaction, **trans_kw): get_transaction.return_value = self.transaction(**trans_kw) with self.settings(INAPP_KEY_PATHS={None: sample}, DEBUG=True): tasks.payment_notify('some:uuid')
def notify(self): with self.settings(INAPP_KEY_PATHS={None: sample}, DEBUG=True): tasks.payment_notify(self.trans.pk)