Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/d/j/django-oscar-HEAD/sites/demo/apps/order/processing.py   django-oscar(Download)
                txn.auth_code)
        except exceptions.PaymentError as e:
            self.create_note(order, "Attempt to settle %.2f failed: %s" % (
                amount, e))
            raise
 
        # Record message
        msg = "Payment of %.2f settled using reference '%s' from initial transaction"
        msg = msg % (amount, txn.datacash_reference)
        self.create_note(order, msg)