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

All Samples(13)  |  Call(7)  |  Derive(0)  |  Import(6)

src/h/i/hiicart-HEAD/hiicart/gateway/paypal2/views.py   hiicart(Download)
from hiicart.gateway.paypal2 import api
from hiicart.gateway.paypal2.ipn import Paypal2IPN
from hiicart.utils import format_exceptions, cart_by_uuid
 
 
        log.warn("No invoice # in data, aborting IPN")
        return None
    return cart_by_uuid(invoice[:36])
 
 
def do_pay(request):
    if "token" not in request.POST or "PayerID" not in request.POST \
        or "cart" not in request.POST:
            raise GatewayError("Incorrect values POSTed to do_buy")
    cart = cart_by_uuid(request.POST["cart"])

src/h/i/hiicart-HEAD/hiicart/gateway/paypal_adaptive/views.py   hiicart(Download)
from hiicart.gateway.base import GatewayError
from hiicart.gateway.paypal_adaptive.ipn import PaypalAPIPN
from hiicart.utils import format_exceptions, cart_by_uuid
 
 
        log.warn("No invoice # in data, aborting IPN")
        return None
    return cart_by_uuid(invoice[:36])
 
 

src/h/i/hiicart-HEAD/hiicart/gateway/paypal/views.py   hiicart(Download)
from hiicart.gateway.base import GatewayError
from hiicart.gateway.paypal.ipn import PaypalIPN
from hiicart.utils import format_exceptions, cart_by_uuid
from urllib import unquote_plus
from urlparse import parse_qs
        return None
 
    return cart_by_uuid(invoice[:36])
 
 

src/h/i/hiicart-HEAD/hiicart/gateway/amazon/views.py   hiicart(Download)
from hiicart.gateway.base import GatewayError
from hiicart.gateway.countries import COUNTRIES
from hiicart.utils import format_exceptions, cart_by_uuid
 
log = logging.getLogger("hiicart.gateway.amazon")
def _find_cart(request_data):
    # Subscription payments look like '<uuid>-4' so grab the uuid id
    uuid = request_data["callerReference"][:36]
    return cart_by_uuid(uuid)
 

src/h/i/hiicart-HEAD/hiicart/gateway/google/views.py   hiicart(Download)
from hiicart.gateway.google.gateway import GoogleGateway
from hiicart.gateway.google.ipn import GoogleIPN
from hiicart.utils import format_exceptions, call_func, cart_by_uuid
 
 
        log.error("Could not find private data. Data: %s" % str(data.items()))
        return None # Not a HiiCart purchase ?
    return cart_by_uuid(private_data)
 
 

src/h/i/hiicart-HEAD/hiicart/gateway/paypal_adaptive/ipn.py   hiicart(Download)
from hiicart.gateway.base import IPNBase
from hiicart.gateway.paypal_adaptive.settings import SETTINGS as default_settings
from hiicart.utils import cart_by_uuid
 
 
        here."""
        self.log.debug("IPN for cart %s received" % data["tracking_id"])
        cart = cart_by_uuid(data["tracking_id"])
        for i in range(6):
            key_base = "transaction[%i]." % i