Laravel Affiliate Awin Network
Note the package is currently in beta. During the beta period things can and probably will change. Don't use it in production until a stable version has been released. We appreciate you helping out with testing and reporting any bugs.
Awin network integration for soluzione-software/laravel-affiliate.
Installation & Configuration
composer require soluzione-software/laravel-affiliate-awin-networkEdit config/affiliate.php:
<?php
return [
//...
/*
|--------------------------------------------------------------------------
| Networks Configuration
|--------------------------------------------------------------------------
*/
'networks' => [
//...
'awin' => [
/*
* see https://wiki.awin.com/index.php/Publisher_Click_Ref
*/
'tracking_code_param' => 'clickRef',
'api_key' => env('AWIN_API_KEY'),
'publisher_id' => env('AWIN_PUBLISHER_ID'),
'product_feed' => [
'api_key' => env('AWIN_PRODUCT_FEED_API_KEY'),
/*
* Extra columns to download
* array
*/
'extra_columns' => [
//
],
],
],
],
//...
];Edit .env:
AWIN_API_KEY=
AWIN_PUBLISHER_ID=
AWIN_PRODUCT_FEED_API_KEY=