caboose-cms 0.7.31 → 0.7.32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/caboose/checkout_controller.rb +10 -4
- data/lib/caboose/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf73a0624a9f94e70152332af86b9243830223b4
|
4
|
+
data.tar.gz: 7e0652094da351a6fac5869d5640519a6cd75227
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74fdea743f279164ccb14b373dbe6037e12e48a9fbc784df3329395ac65905dbfd40817477d47a1399028d735f6b0c87e4e1f450478effcfba6905236eacd6f3
|
7
|
+
data.tar.gz: 704317bed6f156998edc1eef3c94c2e900ae4ec1b8bcbac30c0ab5434233e050e883c3834e0d5e0e5dc66beab023b6a2965aa85008b62107c6e6f5b55cb8eec0
|
@@ -362,10 +362,16 @@ module Caboose
|
|
362
362
|
# Take funds from any gift cards that were used on the order
|
363
363
|
order.take_gift_card_funds
|
364
364
|
|
365
|
-
# Send out emails
|
366
|
-
|
367
|
-
|
368
|
-
|
365
|
+
# Send out emails
|
366
|
+
begin
|
367
|
+
OrdersMailer.configure_for_site(@site.id).customer_new_order(order).deliver
|
368
|
+
OrdersMailer.configure_for_site(@site.id).fulfillment_new_order(order).deliver
|
369
|
+
rescue
|
370
|
+
puts "=================================================================="
|
371
|
+
puts "Error sending out order confirmation emails for order ID #{@order.id}"
|
372
|
+
puts "=================================================================="
|
373
|
+
end
|
374
|
+
|
369
375
|
# Emit order event
|
370
376
|
Caboose.plugin_hook('order_authorized', order)
|
371
377
|
else
|
data/lib/caboose/version.rb
CHANGED