Gift Certificate Validated email issues

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Gift Certificate Validated email issues

Post by WylieE » Tue Oct 13, 2009 10:24 am

Hello all,

We are having a few problems with our Gift Certificate Validated emails.

1.) The GC name information is not appearing correctly in the email. We see:
The Gift Certificate $giftcertificate.Name is activated. You can view or print the details of your gift certificate using the information below.
I've looked through the CommerceBuilder class code and the syntax looks correct. I've also gone back through the .rev updates and don't see any changes related to .Name. Who has this working and what is the text in your email?

2.) The email is not being sent after an order is made. The trigger for Gift Certificate Validated is set and I can look at the GC itself and see that it shows as being validated. I've looked in the error log and app.log and don't see any error messages, so it looks like the email should be sent. Has anyone encountered any problems with this?

We're trying to get our GC's updated before the holiday season starts full swing. Any suggestions would be appreciated.

Thanks!
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Gift Certificate Validated email issues

Post by mazhar » Wed Oct 14, 2009 3:42 am

I just checked to reproduce it on my local install on 7.0.3 and every thing gone smooth
1.) The GC name information is not appearing correctly in the email. We see:
What is your application version? make sure that you are using Email template available with your AbleCommerce version.
2.) The email is not being sent after an order is made. The trigger for Gift Certificate Validated is set and I can look at the GC itself and see that it shows as being validated. I've looked in the error log and app.log and don't see any error messages, so it looks like the email should be sent. Has anyone encountered any problems with this?
GiftCertificate is automatically validated when you order is fully paid. Set your payment processor to authorize/capture. It will automatically validate and trigger Email for gift certificate.

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Gift Certificate Validated email issues

Post by WylieE » Wed Oct 14, 2009 11:25 am

Doh! Sorry. This is 7.0.3. I don't recall ever making any changes to this form as we've never used gift certificates online before. It should still be the stock form.

I looked in help.ablecommerce.com and did not see default templates to download. Did I miss these?

Payment is set to auth/capture and I can look in the GC and see the authorization. It sounds like something is amiss here.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Gift Certificate Validated email issues

Post by mazhar » Thu Oct 15, 2009 3:48 am

In AbleCommerce 7.0.3 standarad install package you can found these tempaltes under Install/EmailTemplates directory.

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Gift Certificate Validated email issues

Post by WylieE » Thu Oct 15, 2009 1:58 pm

I've copied the contents of the install template into the email template and I'm still getting the same results. I've double checked ac_GiftCertificates and the Name field has data.

The email template is also not filling $giftcertificate.GiftCertificateId field either.

Additionally, on my test order I bought two gift certificates. I don't see anything in the GC activated code to provide links to more than one certificate. Could this be the cause of the problem? I'd like our customers to be able to buy as many gift certificates as they would like.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Gift Certificate Validated email issues

Post by WylieE » Mon Oct 19, 2009 2:53 pm

Still stumped on this one. I would have expected that copying the original text would have worked, but it didn't.

I've gone back and tested again and bracketed the fields. (ie. ${giftcertificate.GiftCertificateId}) just to be literal and got the same results. It's almost like I'm not able to retrieve the giftcertificate class information. I also added $giftcertificate.SerialNumber to the email and was unable to retrieve it either.

FYI, I've used three different orders to test the email. Two different customers.

I can see the GC information on the Management page plus ViewGiftCertificate.aspx and MyGiftCertificate.aspx pages. I'm presuming the data is valid.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Gift Certificate Validated email issues

Post by WylieE » Thu Oct 22, 2009 10:49 am

Finally powered through this issue and found the orders were not fully paid. I am guessing there must be code somewhere to prohibit retrieval of GC information if they are not paid for. This is good on one hand, but was very confusing when the GC was activated and every shred of data looked fine.

After testing, I see a more significant concern.

- The bulk of our customers check out anonymously. When a customer clicks on the 'View Online' link in the GC email, they are taken to the login screen. How can customers check their GC if they do not have an account? Many, if not most of our GC purchasers are one time customers buying for a friend/family and it is unlikely they would want to create an account.

It would be nice if the customers could click on a link and print out their certificate *without* having an account. We currently print out a certificate and mail it to the customer. Management would like to give the customer the ability to print the certificate themselves.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Gift Certificate Validated email issues

Post by WylieE » Tue Oct 27, 2009 9:53 am

WylieE wrote:
- The bulk of our customers check out anonymously. When a customer clicks on the 'View Online' link in the GC email, they are taken to the login screen. How can customers check their GC if they do not have an account? Many, if not most of our GC purchasers are one time customers buying for a friend/family and it is unlikely they would want to create an account.

It would be nice if the customers could click on a link and print out their certificate *without* having an account. We currently print out a certificate and mail it to the customer. Management would like to give the customer the ability to print the certificate themselves.
Bump. Anyone? Anonymous checkout and gift certificate review. What are we missing?
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

Post Reply