Did I find the right examples for you? yes no

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

src/d/j/django-hotsauce-0.5.0/examples/lib/payment/modules/giftcertificate/views.py   Django-hotsauce(Download)
from django.utils.translation import ugettext_lazy as _
from forms import GiftCertCodeForm, GiftCertPayShipForm
from models import GiftCertificate, GIFTCODE_KEY
from livesettings import config_get_group
from satchmo_store.shop.models import Order
            # Create a new order.
            newOrder = get_or_create_order(request, working_cart, contact, data)            
            newOrder.add_variable(GIFTCODE_KEY, data['giftcode'])
 
            request.session['orderID'] = newOrder.id

src/s/a/Satchmo-0.9.2/satchmo/apps/payment/modules/giftcertificate/views.py   Satchmo(Download)
from django.utils.translation import ugettext_lazy as _
from forms import GiftCertCodeForm, GiftCertPayShipForm
from models import GiftCertificate, GIFTCODE_KEY
from livesettings import config_get_group
from satchmo_store.shop.models import Order
            # Create a new order.
            newOrder = get_or_create_order(request, working_cart, contact, data)            
            newOrder.add_variable(GIFTCODE_KEY, data['giftcode'])
 
            request.session['orderID'] = newOrder.id

src/s/a/satchmo-HEAD/satchmo/apps/payment/modules/giftcertificate/views.py   satchmo(Download)
from django.utils.translation import ugettext_lazy as _
from forms import GiftCertCodeForm, GiftCertPayShipForm
from models import GiftCertificate, GIFTCODE_KEY
from livesettings import config_get_group
from satchmo_store.shop.models import Order
            # Create a new order.
            newOrder = get_or_create_order(request, working_cart, contact, data)            
            newOrder.add_variable(GIFTCODE_KEY, data['giftcode'])
 
            request.session['orderID'] = newOrder.id

src/d/j/django-bursar-HEAD/bursar/gateway/giftcertificate_gateway/views.py   django-bursar(Download)
from django.utils.translation import ugettext_lazy as _
from forms import GiftCertCodeForm, GiftCertPayShipForm
from models import GiftCertificate, GIFTCODE_KEY
from livesettings import config_get_group
from satchmo_store.shop.models import Order
            # Create a new order.
            newOrder = get_or_create_order(request, working_cart, contact, data)            
            newOrder.add_variable(GIFTCODE_KEY, data['giftcode'])
 
            request.session['orderID'] = newOrder.id