Esempio n. 1
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(urlresolvers.reverse("satchmo_cart"))

    return confirm.credit_confirm_info(request, dummy)
Esempio n. 2
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(urlresolvers.reverse("satchmo_cart"))

    return confirm.credit_confirm_info(request, cod, template='checkout/cod/confirm.html')
Esempio n. 3
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(urlresolvers.reverse("satchmo_cart"))

    return confirm.credit_confirm_info(request, config_get_group('PAYMENT_AUTHORIZENET'))
Esempio n. 4
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(urlresolvers.reverse("satchmo_cart"))

    return confirm.credit_confirm_info(request, config_get_group('PAYMENT_TRUSTCOMMERCE'))
Esempio n. 5
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(reverse("satchmo_cart"))

    return confirm.credit_confirm_info(request, dummy)
Esempio n. 6
0
def confirm_info(request):
    # Check that items are in stock
    cart = Cart.objects.from_request(request)
    if cart.not_enough_stock():
        return HttpResponseRedirect(urlresolvers.reverse("satchmo_cart"))

    return confirm.credit_confirm_info(
        request, settings, template='checkout/purchaseorder/confirm.html')
Esempio n. 7
0
def confirm_info(request):
    return confirm.credit_confirm_info(request, cod, template='checkout/cod/confirm.html')
Esempio n. 8
0
def confirm_info(request):
    return confirm.credit_confirm_info(request, config_get_group('PAYMENT_AUTHORIZENET'))
Esempio n. 9
0
def confirm_info(request):
    return confirm.credit_confirm_info(request, config_get_group('PAYMENT_TRUSTCOMMERCE'))
Esempio n. 10
0
def confirm_info(request):
    return confirm.credit_confirm_info(request, config_get_group("PAYMENT_CYBERSOURCE"))
Esempio n. 11
0
def confirm_info(request):
    return confirm.credit_confirm_info(request, dummy)
Esempio n. 12
0
def confirm_info(request):
    return confirm.credit_confirm_info(
        request, 
        settings, 
        template='checkout/purchaseorder/confirm.html')