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

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

src/h/i/hiicart-HEAD/hiicart/gateway/paypal/views.py   hiicart(Download)
from django.views.decorators.csrf import csrf_view_exempt
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
    if not cart:
        raise GatewayError('paypal gateway: Unknown transaction')
    handler = PaypalIPN(cart)
    if not handler.confirm_ipn_data(request.raw_post_data):
        log.error("Paypal IPN Confirmation Failed.")