Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-affiliate-awin-network maintained by soluzione-software

Description
Awin network integration for soluzione-software/laravel-affiliate.
Author
Last update
2021/04/29 12:41 (dev-master)
License
Links
Downloads
104

Comments
comments powered by Disqus

Laravel Affiliate Awin Network

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=