soluzione-software/laravel-affiliate-awin-network

This package is abandoned and no longer maintained. No replacement package was suggested.

Awin network integration for soluzione-software/laravel-affiliate.

0.1.2 2021-04-29 10:41 UTC

This package is auto-updated.

Last update: 2021-09-17 10:48:24 UTC


README

Latest Version MIT License

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-network

Edit 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=