That is the event to use when an order is fianlized/paid for. Add a giftcard to the order or generate a new giftcard and send the code to the customer?
We want to generate a gift card and send it to the customer - if they have purchased a specific item (as a way of giving the cost back when they come back and purchase a "normal" product).
Refund on next purchase gift card
If a customer buys one specific product, the cost will be refunded if they return to buy a "normal" product.
I was thinking that we could auto-generate a gift card and send the code with the order confirmation email (or send a separate email?).
Does that sound sensible / easy to do? Are there any obvious potential issues?
Hi Gordon
Its easy to generate a gift card :)
https://github.com/TeaCommerce/Tea-Commerce-for-Umbraco/blob/master/Source/TeaCommerce.Umbraco.Application/Views/GiftCards/CreateGiftCard.ascx.cs
Kind regards
Anders
Ah, OK, thanks for the link.
Is there any documentation about the various services?
Not yet - but we are in the process. All services are in the TeaCommerce.Api.Services namespace
Is NotificationCenter.Order.Finalized the first / only event that occurs after payment has been made?
I need to add a gift card but only once the order has been paid for. Is that possible?
That is the event to use when an order is fianlized/paid for. Add a giftcard to the order or generate a new giftcard and send the code to the customer?
Kind regards
Anders
We want to generate a gift card and send it to the customer - if they have purchased a specific item (as a way of giving the cost back when they come back and purchase a "normal" product).
is working on a reply...