Coupons overview

The Coupon feature allows you to use coupons to associate orders with affiliates, so even if the customer doesn't click an affiliate link but uses a coupon code belonging to an affiliate this affiliate will get a commission. It also allows tracking offline sales from offline marketing (https://support.qualityunit.com/936792-Offline-sale-from-coupon) via these coupons. To use this feature you need to activate the "Coupons and Offline Sales" feature in the Merchant panel in the Features section....

Generate coupons

After the coupon banner is created you need to create coupon codes for it. Open the Coupons tab and then either import or generate coupons Generate coupons With this option you can generate randomized coupon codes directly in the software, however you will still need to import these coupons to your ecommerce software so your customers can actually use them. While generating the coupons there are two options how affiliates can use it: Affiliate will get coupon upon request - affilia...

Import coupons

After the coupon banner is created you need to create coupon codes for it. Open the Coupons tab and then either import or generate coupons. Import coupons Use this option when you already have coupon codes generated (e.g. by your e-shop) and you want to import them to Post Affiliate Pro (PAP). You should paste them into the text area labeled as "Coupons" and separate them by comma, semicolon or new line. All these coupons will then be available in the system. After hitting the 'Import co...

Assign coupon codes using CSV import

If you wish to provide personalized coupon codes to your affiliates then you can either use the regular import option (https://support.qualityunit.com/544393-Import-coupons) and then manually select affiliate for each imported coupon or you can use the difficult API coding approach (https://support.qualityunit.com/531726-How-to-assign-coupon-using-API) or you can simply import a list of coupon codes with the respective affiliates by specifying the affiliate's ID, referral ID or username. To do ...

How to integrate coupons with your payment processor or e-shop

If you want to recognize which affiliate referred the sale according to the coupon code which was used during the purchase, then this is a theoretical overview of how it should be integrated. In order to make this work, you have to use the same coupons in your payment processor (or e-shop) as in your Post Affiliate Pro. Basically, you should generate coupons in Post Affiliate Pro (http://support.qualityunit.com/542971-Generate-coupons) and then import these coupons into your payment processor o...

Barcodes in coupons

You can insert into the coupon design even barcode images, which can be later read by a barcode reader to make their input easier. Barcode images are automatically generated by Post Affiliate Pro and each barcode matches a coupon id. You can add barcodes to a coupon by editing the coupon Design and using the variable {$barcodeimage} : Then you affiliates will be able to see and print barcodes in section with promotion materials: Type of this barcode is Code 25 (Interleaved 2 of 5). ...

QR codes in coupons

You can insert into the coupon design also QR codes, which can be later read by a code reader to make their input easier. QR codes are automatically generated by Post Affiliate Pro and each QR code matches a coupon id. You can add QR codes to a coupon by editing the coupon Design and using the variable {$qrcodeimage} : Then your affiliates will be able to see and print QR codes in section with promotion materials:

How to assign coupon using API

There are 2 possible ways to assign coupons to affiliate using API: 1) Merchant assigns an exact coupon to a particular affiliate In this case you have to load the coupons via php API (http://support.qualityunit.com/744432-How-to-load-display-coupons-via-php-API) while you have to find out the IDs of so far not assigned coupons. So in the example available through that hyperlink above, you will have to change $rec->get('userid'))!=NULL to $rec->get('userid'))==NULL ...

Offline sale from coupon

Coupons are used for offline marketing so you need also an offline processor that will check the validity of the coupon and register the sale. To register an offlinecouponsale, you need to go to Offline Sale in the main menu in the merchant panel. Here you can enter the coupon code to check its validity: If the coupon is valid, new form will appear so you can create a sale commission. The commission will appear as a new sale commission in the Transactions > Commissions.