Gift Certificates question

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Gift Certificates question

Post by compunerdy » Thu Sep 11, 2008 9:01 am

How where these designed to work?

It seems when someone orders one it creates a non shippable order and dumps it into the complete orders. Yet even though they paid with a instant payment type the gift cert needs to be manually activated. It would be very easy to miss this since the order is dumped into the completed orders.

Am I missing something? Also what exactly happens once it is activated? Are they E-mailed the serial number?

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

Re: Gift Certificates question

Post by mazhar » Fri Sep 12, 2008 2:16 am

Well after the activation, following information becomes available for the Gift Certificate order on the store side.The name of the Gift Certificate will become link after activation and direct you to the following information.

Code: Select all

Name: GIFTCERT NAME
Status Description: Gift certificate activated. (Modified at 9/12/2008) 
Certificate Number: 7215433150209939 
Balance: $333.00 
Expiration Date: N/A 
Now when customer gets his gift certificate activated and finds his/her certificate number then he/she can send this certificate number through Email, phone call etc to any one.

bptoll123
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Sat Aug 23, 2008 8:19 am

Re: Gift Certificates question

Post by bptoll123 » Mon Sep 15, 2008 2:50 pm

I also having a hard time figuring out how to redeem a gift certificate for an order being paid over the phone.

When you check out online, it clearly gives gift certificate as a payment option. But when trying to process a payment on the back-end, I can't find anywhere to use the gift certificate.

Gift certificate also does not show up as a choice in my configure payment options.

Thanks,
Brian

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Gift Certificates question

Post by AbleMods » Mon Sep 15, 2008 3:10 pm

Gift Certificates cannot be used to pay for an order on the admin side. You have to log in as the customer themselves, switch to the visitor side and proceed through checkout that way.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

bptoll123
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Sat Aug 23, 2008 8:19 am

Re: Gift Certificates question

Post by bptoll123 » Mon Sep 15, 2008 3:38 pm

Joe,
I did some more poking around here, and it seems that what you said is only true if you place the order from scratch starting on the visitor side.

The scenario I'm planning around is that customer calls me. I go into the back end, find the user, then create a new order. I select the items he wants. Then when i ask for payment, he says gift certificate.

The only thing I can do is "Defer Payment."

Then I go back to Users and I select the caller and log in as the user. I hit account and select the order. It says "Your order has a balance due of $XX" I hit "Pay Now"....

the only choices that come up are Credit Card, Paypal, Check. No Gift Certificate!

This seems a bug to me. Any thoughts on a workaround?

Thanks,
Brian

User avatar
AbleMods
Master Yoda
Master Yoda
Posts: 5170
Joined: Wed Sep 26, 2007 5:47 am
Location: Fort Myers, Florida USA

Re: Gift Certificates question

Post by AbleMods » Mon Sep 15, 2008 3:57 pm

Not a bug, just poor design on the admin side. The visitor side initial checkout got a lot more love than the admin side when it came to checkout payment processing.

You're lucky the Pay Now button offers PayPal - didn't use to even offer that. All the customer used to be able to do (going that route) was pay by credit card regardless of the original order payment method. Hopefully they'll improve admin-side checkout payment choices in a future update.

For now, the only chance to pay with a gift certificate so far as I know is the initial checkout process on a new order. Change your procedure by making your first question "Will you be paying with our all-powerful gift certificate today?" and proceed accordingly.

I'd still nag Able about it - definitely need it on the Admin side.

It might not be too ugly to add the functionality to the admin checkout since we already have a working example of it on the visitor checkout. But the code in those checkout pages is pretty thick...would take some time to get it working right.
Joe Payne
AbleCommerce Custom Programming and Modules http://www.AbleMods.com/
AbleCommerce Hosting http://www.AbleModsHosting.com/
Precise Fishing and Hunting Time Tables http://www.Solunar.com

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

Re: Gift Certificates question

Post by mazhar » Mon Sep 15, 2008 10:13 pm

Hello All,

This feature was removed due to the following bug.
http://bugs.ablecommerce.com/show_bug.cgi?id=5877
This bug is still opened for discussion.

For you there is a quick workaround. You can enable this feature for your self.

Go to your Website\Admin\Orders\Edit folder and edit the AddOther.aspx file.
Locate the following line of code in it

Code: Select all

if (oit != OrderItemType.Product && oit != OrderItemType.GiftCertificate && oit != OrderItemType.GiftCertificatePayment && oit != OrderItemType.GiftWrap && oit != OrderItemType.Coupon)
and then made it look like

Code: Select all

if (oit != OrderItemType.Product && oit != OrderItemType.GiftCertificate  && oit != OrderItemType.GiftWrap && oit != OrderItemType.Coupon)
Now go to the Edit Order Items option in left menu and click Add Other Item and then select gift certificate as a new item.

bptoll123
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 23
Joined: Sat Aug 23, 2008 8:19 am

Re: Gift Certificates question

Post by bptoll123 » Mon Sep 22, 2008 8:34 am

Mazhar,
I went into the code and made the change. It lets me add a gift certificate payment to the order, which is terrific.

After I made the update, the system adjusted the order to paid, which is great. But when I go to order summary, the gift certificate item does NOT display on the invoice.

In my example below, I used a $50 gift certificate to offset the purchase of Windows XP for $50. So I get a subtotal of $50 in my example, and a total of $0. The -$50 gift certificate is nowhere to be seen.

THanks,
Brian

Order #13 - Completed
Tasks:


Referrer: http://64.71.229.108/Admin/Store/EmailT ... fault.aspx
Date: 9/15/2008 5:51 PM Payment: Paid Affiliate: AAA_InStore_Rockville
Total: $0.00 Shipment: NonShippable Customer IP: 71.191.242.5


Payment:
Balance:
Order Total: $0.00
Payments Total: $0.00
Remaining Balance: $0.00

Payment Processing:
Processed Payments: $0.00
Unprocessed Payments: $0.00

Order Contents
SKU Name Price Quantity Total
xppro123 Windows XP Professional $50.00 1 $50.00
Item Subtotal: $50.00
Shipping and Handling: $0.00
Tax: $0.00
Other: $0.00
Total: $0.00

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

Re: Gift Certificates question

Post by mazhar » Mon Sep 22, 2008 9:52 pm

Well Brian!
For this you need to modify the invoice page. Edit the Website\Admin\Orders\Print\Invoices.aspx Page. Locate the following line of code

Code: Select all

if (item.OrderItemType == OrderItemType.Product)
and make it look like

Code: Select all

if (item.OrderItemType == OrderItemType.Product || item.OrderItemType == OrderItemType.GiftCertificatePayment)
It will make the GiftCertificate Payment info available on the invoice page.

crazyjoe
Commander (CMDR)
Commander (CMDR)
Posts: 172
Joined: Mon Apr 26, 2010 2:20 pm

Re: Gift Certificates question

Post by crazyjoe » Wed Dec 29, 2010 11:42 am

Can someone please post updated code to allow me to choose a Gift Certificate as a Payment Method in the admin. The code Mazhar put up back in '08 doesn't work. Thank you!
Crazy Joe Sadloski
Webmaster
Hot Leathers Inc.
http://www.hotleathers.com

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Re: Gift Certificates question

Post by compunerdy » Wed Dec 29, 2010 11:53 am

This is the problem with constantly making code sniplets like this but not incorporating them into the software..

crazyjoe
Commander (CMDR)
Commander (CMDR)
Posts: 172
Joined: Mon Apr 26, 2010 2:20 pm

Re: Gift Certificates question

Post by crazyjoe » Wed Dec 29, 2010 11:58 am

I'm sorry, I did get it to work, and it does add a gift certificate. But the product I create does not show up on the order summary page, this doesn't connect to the gift certificate and reduce it's available balance accordingly, and it should be added as a "Payment Method" in the admin rather then an order item. Has fixed appropriately in 7.5? If not can it be added as a feature request. Thanks!
Crazy Joe Sadloski
Webmaster
Hot Leathers Inc.
http://www.hotleathers.com

Post Reply