Did I find the right examples for you? yes no

All Samples(22)  |  Call(12)  |  Derive(0)  |  Import(10)

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/browser/checkout.py   Products.PloneGetPaid(Download)
        interfaces as wizard_interfaces
from getpaid.core import interfaces, options, cart
from getpaid.core.order import Order
 
import Acquisition
    def createTransientOrder(self):
        order = Order()
        shopping_cart = component.getUtility(
            interfaces.IShoppingCartUtility
        ).get(self.context)

src/g/e/getpaid.clickandbuy-0.1/getpaid/clickandbuy/browser/clickandbuybutton.py   getpaid.clickandbuy(Download)
from Products.PloneGetPaid.interfaces import IGetPaidManagementOptions
from getpaid.core.interfaces import IShoppingCartUtility, IOrderManager
from getpaid.core.order import Order
from getpaid.core import payment
 
        order_manager = getUtility(IOrderManager)
        new_order_id = order_manager.newOrderId()
        order = Order()
 
        order.finance_workflow.fireTransition('create')

src/p/r/Products.PloneGetPaid-0.10.5/Products/PloneGetPaid/Extensions/gen_order.py   Products.PloneGetPaid(Download)
 
    for i in range(40, 60):
        o = order.Order()
        o.order_id = str(i)
 

src/g/e/getpaid.pagseguro-0.2/src/getpaid/pagseguro/browser/pagsegurobutton.py   getpaid.pagseguro(Download)
from Products.PloneGetPaid.interfaces import IGetPaidManagementOptions
from getpaid.core.interfaces import IShoppingCartUtility, IOrderManager
from getpaid.core.order import Order
from getpaid.core import payment
 
        order_manager = getUtility(IOrderManager)
        new_order_id = order_manager.newOrderId()
        order = Order()
 
        # register the payment processor name to make the workflow handlers happy

src/g/e/getpaid.paypal-0.4.4/src/getpaid/paypal/browser/paypalbutton.py   getpaid.paypal(Download)
from Products.PloneGetPaid.interfaces import IGetPaidManagementOptions
from getpaid.core.interfaces import IShoppingCartUtility, IOrderManager
from getpaid.core.order import Order
from getpaid.core import payment
 
        order_manager = getUtility(IOrderManager)
        new_order_id = order_manager.newOrderId()
        order = Order()
 
        # register the payment processor name to make the workflow handlers happy

src/g/e/getpaid.formgen-0.6/src/getpaid/formgen/content/checkout.py   getpaid.formgen(Download)
#GetPaid imports
from getpaid.core import interfaces
from getpaid.core.order import Order
from getpaid.formgen.interfaces import ICreateTransientOrder
 
    def __call__( self, adapters, shopping_cart=None ):
        order = Order()
 
        portal = component.getSiteManager()
        portal = getToolByName(portal,'portal_url').getPortalObject()

src/g/e/getpaid.upay-1.0/getpaid/upay/browser/upaybutton.py   getpaid.upay(Download)
from Products.PloneGetPaid.interfaces import IGetPaidManagementOptions
from getpaid.core.interfaces import IShoppingCartUtility, IOrderManager
from getpaid.core.order import Order
from getpaid.core import payment
 
        order_manager = getUtility(IOrderManager)
        new_order_id = order_manager.newOrderId()
        order = Order()
 
        # register the payment processor name to make the workflow handlers happy

src/c/o/collective.subscribemember-1.11/collective/subscribemember/subscribers.py   collective.subscribemember(Download)
from DateTime import DateTime
from getpaid.core.interfaces import IShoppingCartUtility, IOrderManager, IBuyableContent, ILineItemFactory, workflow_states
from getpaid.core.order import Order
from collective.subscribemember.events import MemberCreatedOrRenewedEvent, ProcessSubscriptionEvent
from collective.subscribemember.interfaces import IMemberTypesGetter
        cart[item.item_id] = item
        order_manager = getUtility(IOrderManager)
        order = Order()
        order.processor_id = manage_options.payment_processor
        order.order_id = order_manager.newOrderId()

src/g/e/getpaid.verkkomaksut-0.1.1/getpaid/verkkomaksut/adapters/order.py   getpaid.verkkomaksut(Download)
from zope.app.component.hooks import getSite
from zope.component import getUtility
from getpaid.core.order import Order
 
### For implements.

src/g/e/getpaid.luottokunta-0.4.1/getpaid/luottokunta/adapters/order.py   getpaid.luottokunta(Download)
 
from zope.app.component.hooks import getSite
from getpaid.core.order import Order
 
### For implements.

  1 | 2  Next