Articles on: Orders

Revert Earned Coins

This article explains how to enable automatic deduction of coins from the customer, if the reward was already disbursed for an order that is cancelled or refunded

Go to your Loyalty Program page, click on Features in the side-bar and then scroll below to the Orders section and you can find the Revert Earned Coins.




As first step enable the revert earned coins feature by toggling the status button on that page. After enabling you will see the below view.




Switch to the Revert Settings section and define the condition for reverting the rewarded coins, which were rewarded to the customer for an order.
Reverting of coins is dependent on two factors:

Order Status On Which To Revert The Coins - Coins can be reverted based on the status of the order. The possible options are: Refunded, Cancelled, Partially Refunded. When the order is marked as refunded on Nector, coins will be reverted (the status on Nector is updated based on underlying platform data (ex. shopify, woo-commerce)).




Order Tags On Which To Revert The Coins - Coins can be reverted using order tags. If the order contains any of the tags entered here, then the coins will be reverted. You can add multiple tags. For example, tags can be anything like: cancelled order, refunded-order, etc.

How to attach tags to orders automatically using Shopify Flow


For adding Tags, you can also use a Shopify app called Shopify Flow.

Go to your Shopify App Store and install this App

Open this App by clicking on Flow under Apps.




Click on Create workflow and then Select a trigger

In the new page, search for "order cancelled" and then click on the below option




Then click on Action




Then search for "Add order tags" and click on the below option




Write the tag name that you want to assign to it.




You can edit the name of the workflow by clicking on the New Workflow




Finally, click on Turn on workflow

Go back to the main page and you can find your workflow under the list of workflows.




Similarly, you can also create a workflow for adding tags if order is refunded,

Open this App by clicking on Flow under Apps.

Click on Create workflow and then Select a trigger

In the new page, search for "refund created" and then click on the below option




Then click on Action




Then search for "Add order tags" and click on the below option




Write the tag name that you want to assign to it.




You can edit the name of the workflow by clicking on the New Workflow




Finally, click on Turn on workflow

Go back to the main page and you can find your workflow under the list of workflows.




After creating the workflows, make sure to add the same tags on the Nector dashboard page for reverting earned coins.




Once you have added all the conditions, Click on the Save button to save them.

As soon the order is updated on the underlying platform (ex. shopify, woo-commerce) our system will check if rewarding has happened for this order on Nector, if yes, then coins will be reverted only after any of the defined condition matches.

The reverting will happens once only after the rewarding has happened for that order.

To enable or disable the revert earned coins feature just toggle the status in the page.

Updated on: 21/05/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!