[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] saving failed orders - SOLVED


I included this code in my ord/checkout.html page to
have any failed orders emailed to me. This may be
useful for anyone trying to capture failed order
information.

[if type=explicit compare="[error all=1 show_var=1 keep=1]"]

[comment]Email error info[/comment]
	[set email_failed_order interpolate=1][email
		to="suppressed"
                    subject="ERROR IN USER ORDER"
                    from="suppressed <suppressed>"
                    reply="suppressed"]

		There was an error while the user submitted this order information :

		Username: [data session username]
       		First Name: [cgi fname] 
       		Last Name: [cgi lname]
		Address 1: [cgi address1]
		Address 2: [cgi address2]
		City: [cgi city]
		State: [cgi state]
		Zip: [cgi zip]
		Email Address: [cgi email]
		Day phone: [cgi phone_day]
		Night phone: [cgi phone_night]

		Credit card exp:  [cgi mv_credit_card_exp_month]
[cgi mv_credit_card_exp_year]

		Subtotal: [subtotal]
		Shipping: [shipping]
		Total: [total-cost]

[if items]
[then]
		Items in cart:
	SKU	Quantity	Description	Price

[item-list]
	[item-sku]	[item-quantity]	[item-description]
[item-price]

[/item-list]
[/then]
[/if]

Error(s): 
[error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"]
	
You may want to contact the customer to correct these issues.
[/email][/set]



Cheers,
Mark



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.