"cartridge.shop.models.Order.callback_uuid",
"django.db.models.CharField",
(),
- {"blank" : False, "max_length" : 36},
+ {"blank" : False, "max_length" : 36, 'default': 0},
),
# ...
# # Example of adding a field to *all* of Mezzanine's content types:
"mezzanine.galleries",
"mezzanine.twitter",
"mezzanine.accounts",
- # "mezzanine.mobile",
+ "mezzanine.mobile",
"records",
- "payments.multipayments",
'paypal.standard.ipn',
+ "payments.multipayments",
)
# List of processors used by RequestContext to populate the context.
try:
cart = Cart.objects.get(id=cart_pk)
try:
- #order = Order.objects.get(
- # transaction_id=ipn_obj.invoice)
- order = Order.objects.get(key=s_key)
+ order = Order.objects.get(
+ transaction_id=ipn_obj.invoice)
+ #order = Order.objects.get(key=s_key)
for field in order.session_fields:
if field in session:
del session[field]