<p>I don't think there's a plugin, but there's numerous jQuery or SaaS products that achieve this. </p>

<p>For a Craft Plugin, you could hook onto the after purchase event and add a set amount of score to a user field.</p>

<p>e.g. if our field was <code>score</code>, after purchase we could add <code>+30</code> to the score field. Then assign discounts based on the <code>score</code> field. e.g. if <code>$score &gt; 30</code> assign 30% discount to products.</p>

<p>For integrations, you could easily just listen for the event and send some data via a <code>PUT</code> request to a third-party system.</p>

CC BY-SA 4.0
2019-05-24T10:02:26.157Z
Thanks for taking the time to answer thats really useful
Malcolm Maclean
CC BY-SA 4.0
2019-05-23T16:05:59.440Z
2019-05-23T16:05:59.440Z
JMKelley
<p>Just wondered if anybody had done anything like this? Perhaps through zapier or a custom inetgration? Customers earning points or discounts through a Craft e-commerce site?</p>

<plugins><ecommerce>
Has anybody integrated craft with a rewards system?
# Has anybody integrated craft with a rewards system?

(Asked by: username_0 on 2019-05-21)

Just wondered if anybody had done anything like this? Perhaps through zapier or a custom inetgration? Customers earning points or discounts through a Craft e-commerce site?

**Tags:** plugins, ecommerce

---

## 1 answers

### Answer by username_1 on 2019-05-23. Score: 2 | Accepted answer

I don't think there's a plugin, but there's numerous jQuery or SaaS products that achieve this.

For a Craft Plugin, you could hook onto the after purchase event and add a set amount of score to a user field.

e.g. if our field was `score`, after purchase we could add `+30` to the score field. Then assign discounts based on the `score` field. e.g. if `$score > 30` assign 30% discount to products.

For integrations, you could easily just listen for the event and send some data via a `PUT` request to a third-party system.

> **Comments:**
> **username_0**: Thanks for taking the time to answer thats really useful  

---

