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_adaptive/views.py   hiicart(Download)
from django.views.decorators.csrf import csrf_view_exempt
from hiicart.gateway.base import GatewayError
from hiicart.gateway.paypal_adaptive.ipn import PaypalAPIPN
from hiicart.utils import format_exceptions, cart_by_uuid
    # Verify the data with Paypal
    cart = _find_cart(data)
    ipn = PaypalAPIPN(cart)
    if not ipn.confirm_ipn_data(request.raw_post_data):
        log.error("Paypal IPN Confirmation Failed.")