Articles on: Orders

Revert Spent Coins

This article explains how to enable automatic revert of coins back to the customer when coins are used to get a discount on an order, but the order is cancelled or refunded

Visit the Revert Spent Coins Page. You can also find it under Orders in the Loyalty Features Page inside the Loyalty Program.

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




Scroll to the Settings section and define the condition for reverting the spent coins on an order.

Reverting of coins can be done using any of the two options mentioned below:

Order Status - Coins can be reverted based on the status of the order. The only possible option available: 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)).

Tags - 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 Update button to save them.

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

The reverting will happens once only if customer has spent coins on that order.

To enable or disable the revert spent coins feature just toggle the status at the top of the page.

Updated on: 01/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!