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

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

src/d/j/django-oscar-HEAD/sites/demo/apps/checkout/views.py   django-oscar(Download)
    def handle_payment_details_submission(self, request):
        # Validate the submitted forms
        bankcard_form = BankcardForm(request.POST)
        shipping_address = self.get_shipping_address(
            self.request.basket)
    def handle_place_order_submission(self, request):
        bankcard_form = BankcardForm(request.POST)
        shipping_address = self.get_shipping_address(
            self.request.basket)
        address_form = BillingAddressForm(shipping_address, request.POST)

src/o/s/oscar-sagepay-0.1/sagepay/views.py   oscar-sagepay(Download)
                payment_kwargs={
                    'billing_address': billing_address_form.cleaned_data,
                    'shipping_address':  self.get_shipping_address(),
                    'save_card': save_card,
                    })
                request.basket,
                payment_kwargs={
                    'shipping_address':  self.get_shipping_address(),
                    'card_token': card_token,
                    })