# Send a QRCode or a link by article when an order is paid

**URL:** <https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072>\
**Category:** Ask the community\
**Tags:** code, wix-studio, wix-stores\
**Created:** [March 15, 2026, 3:00pm UTC](https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072 "2026-03-15T15:00:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pascal\_Vasseur](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pascal_vasseur/32/96199_2.png) [@Pascal\_Vasseur](https://forum.wixstudio.com/u/Pascal_Vasseur)\
**Post date:** [March 15, 2026, 3:00pm UTC](https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072/1 "2026-03-15T15:00:00Z")

</div>

Hi all,

I’m looking for a solution to do this task :

Send a QRCode , a link or a PDF document by article when an order is paid.

Eg : someone buy 4 article N°10, and two article N°5, when the order is placed and payed, the buyer receive an email with 2 lines :

Article N° 5 : Link, or QR code, or PDF attached if exist  
Article N° 10: link or QR code Or PDF attacheds if exist

I didn’t find any simple way at this time, any suggestion is welcome.

Thanks in advance.

**Working in**  
Wix Studio Editor

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Pratham](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pratham/32/119586_2.png) [@Pratham](https://forum.wixstudio.com/u/Pratham)\
**Post date:** [March 16, 2026, 6:40pm UTC](https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072/2 "2026-03-16T18:40:57Z")

</div>

You can set this up using **Automations** , but that would make more sense for orders with one product only. If your order has two or more products with different links that need to be sent, then you’ll need to write custom code to develop such a functionality.

---

<div class="post-metadata">

**Author:** ![Kamran\_Hussain](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/kamran_hussain/32/117440_2.png) [@Kamran\_Hussain](https://forum.wixstudio.com/u/Kamran_Hussain)\
**Post date:** [March 17, 2026, 10:23am UTC](https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072/3 "2026-03-17T10:23:49Z")

</div>

You can achieve this using **Wix Automations + Velo**. The built-in automation can trigger when an order is **paid** , but since you need to send different links/QR/PDF per product, you’ll likely need some custom logic.

A common approach is:

1. Add custom fields in a **CMS collection** or product data for each item (for example: link, QR code image, or PDF URL).

2. Use a **backend event like `wixStores_onOrderPaid`** in Velo.

3. When the order is paid, loop through the ordered items, fetch the associated data (link/QR/PDF) for each product, and generate the email content dynamically.

4. Send a custom email using **Triggered Emails or an external email service**.

That way if someone buys:

- 4 × Article #10

- 2 × Article #5

your code can build an email like:

Article #5 : link / QR / PDF  
Article #10 : link / QR / PDF

This approach gives you full flexibility and works well if the files or links are different per product.

---

<div class="post-metadata">

**Author:** ![Pascal\_Vasseur](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pascal_vasseur/32/96199_2.png) [@Pascal\_Vasseur](https://forum.wixstudio.com/u/Pascal_Vasseur)\
**Post date:** [March 21, 2026, 12:39am UTC](https://forum.wixstudio.com/t/send-a-qrcode-or-a-link-by-article-when-an-order-is-paid/77072/4 "2026-03-21T00:39:22Z")

</div>

Hi Kamran

Sorry for the delay of my response.

Thanks for your reply who give me some ideas on how to do this.  
I’ll try to do the job with your indications next 3-4 days, and come back to let you know about advancement.

Thanks again.

Pratham, thanks to you too 😉
