# If True, the checkout process is split into separate
# billing/shipping and payment steps.
-SHOP_CHECKOUT_STEPS_SPLIT = False
+SHOP_CHECKOUT_STEPS_SPLIT = True
# If True, the checkout process has a final confirmation step before
# completion.
# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = "fr"
+LANGUAGE_CODE = "en"
# Supported languages
LANGUAGES = (
urlpatterns += patterns('',
+ (r'^paypal-ipn-8c5erc9ye49ia51rn655mi4xs8/', include('paypal.standard.ipn.urls')),
+
# Cartridge URLs.
("^shop/", include("cartridge.shop.urls")),
url("^account/orders/$", "cartridge.shop.views.order_history",
# need to use the ``SITE_PREFIX`` setting as well.
# ("^%s/" % settings.SITE_PREFIX, include("mezzanine.urls"))
-
- (r'^paypal-ipn-8c5erc9ye49ia51rn655mi4xs7/', include('paypal.standard.ipn.urls')),
-
)
# Adds ``STATIC_URL`` to the context of error pages, so that error
from cartridge.shop.models import Product, Category, Cart, Order, ProductVariation, DiscountCode
from paypal.standard.ipn.signals import payment_was_successful
+from paypal.standard.ipn.signals import valid_ipn_received
# Auto-generated Django models with manage.py inspectdb on the old database
except Cart.DoesNotExist:
pass
-payment_was_successful.connect(payment_complete)
+#payment_was_isuccessful.connect(payment_complete)
+valid_ipn_received.connect(payment_complete)
</div>
</div>
-{% comment %}
<div class="description">
{% editable product.content %}
{{ product.content|richtext_filters|safe }}
{% endeditable %}
</div>
-{% endcomment %}
{% if product.available and has_available_variations and product.price %}