PHP code example of soluzione-software / laravel-affiliate-awin-network
1. Go to this page and download the library: Download soluzione-software/laravel-affiliate-awin-network library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
soluzione-software / laravel-affiliate-awin-network example snippets
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' => [
//
],
],
],
],
//...
];