PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 8/4/2017 2:03 PM by  Will Strohl
Credit based payment
 11 Replies
 1 Subscribed to this topic
 1 Subscribed to this forum
Sort:
You are not authorized to post a reply.
Page 3 of 3 << < 123
Author Messages





Basic Member






--
8/3/2017 3:02 AM
Perhaps something like this could let you check on whether coupon code was used...

[code=csharp]int CouponUsedCount = Factory.CreateRepo(HccApp.CurrentRequestContext).GetUseTimesForStore("{CouponCode}", HccApp.CurrentStore.Id);[/code]





Veteran Member






--
8/4/2017 2:03 PM
There's certainly custom code that could be put into the viewsets and/or integration pipeline to look for and run logic against coupon codes, but it would all be custom for this use case at this point in time. There's no reason why someone shouldn't do it though. It's a great option to have.
Will Strohl, Upendo Ventures Hotcakes Cloud | Get Support | Code Support Official Cloud & Support provider for Hotcakes
You are not authorized to post a reply.
Page 3 of 3 << < 123


Loading
  • Sign-up for the Hotcakes Community Newsletter: