When an order is canceled, cancel the rewards earned on the order

Completed

Comments

9 comments

  • Kathy Sechrist

    Wow. I haven't used Rewards yet but have toyed with the idea. Knowing this makes me fear the headaches - this is horrible!

    0
  • Brian Gluck

    seems like a no brainer.... also would be great to invalidate/void fee gift certificates issued with purchase

    1
  • Travis Musgrave

    We're going to introduce a 2 ways of doing this.

    1. When creating a quote, you can specify you don't want rewards or gift certificates created.
    2. When going through a refund or cancellation flow, we'll have the option to cancel rewards and gift certificates generated by the order
    0
  • Joshua Artman

    Hmmm... I am not sure that will take care of our situation.  We do not actually refund through the cart.com interface, we authorize CC charges online, then download the orders to an order management system.  All charges, credits, etc happen in the order management system.  The order manager just sets order status updates via the cart.com API.

    0
  • Travis Musgrave

    Got it. A few follow-ups:

    • What OMS are you using?
    • When you need to refund/cancel an order and impact GCs or rewards generated by that order, are you canceling the entire GC and rewards amounts or partial?
    0
  • Joshua Artman

    We are using a custom built OMS.

    If the order is simply modified, we currently are not bothering to adjust the rewards points, we are only worried about canceling rewards if the order is canceled or entirely returned.

    In our case, we are not currently using the GC system because our OMS was not marking the order payments as applied, so the GCs were never being activated/emailed, and staff was not remembering to do it manually.  I recently wrote a script that every hour checks the Cart.com API for unapproved transactions and checks to see if those orders are marked as paid in our OMS, and if so approves the payment via the API.  When we were previously using the GCs, I do not remember a time when we needed to partially cancel GCs generated on an order.  

    0
  • Travis Musgrave

    Got it. Would exposing this ability via API work here?

    0
  • Joshua Artman

    There has actually been multiple times when we wished we could add or remove rewards points via the API, but as far as I know that is not currently supported.  So I am definitely in favor of adding API endpoints for managing rewards.

    In the case of canceled orders, our OMS will not know how many points were earned by an order, so I think we would need to be able to cancel points earned by the web order number. 

    Example query:

    /api/v1/customer_rewards/revoke/?order_number=230830

    We could then just add that call following our post to the API that updates the orders status for canceled orders.

     

    Another possibility would be to enable look up of the rewards entry id # for a given rewards entry:

    For example from the data shown above, if we could do a lookup for rewards associated with order number 230830, example query:

    /api/v1/customer_rewards/?order_number=230830&fields=id

    and have the API return rewards ID # 140292, then we could post a revoke call, example:

    /api/v1/customer_rewards/revoke/?id=140292

    This approach may lend itself to more use cases.  I guess there is no reason why the revoke endpoint could not support revoking by rewards entry ID # AND by order number....

    0
  • Ricardo Gomez

    in addition to cancellations also orders updates should update the rewards points. We ran a quick audit of reward points and we realized that some orders had more points than what they were supposed to, the reason was that the orders were changed but the points did not update accordingly with the changes.

    0

Please sign in to leave a comment.

We're Here To Help


Standard Support Hours: Monday-Friday 8AM-5PM CST
Looking for Premium Support? Just ask!

Submit A Support Ticket
Submit Your Ticket Here