mollie / laravel-mollie

Mollie API client wrapper for Laravel & Mollie Connect provider for Laravel Socialite
https://www.mollie.com/
MIT License
326 stars 62 forks source link

Difference between MOLLIE_KEY and MOLLIE_SECRET #12

Closed ghost closed 8 years ago

ghost commented 8 years ago

Hi,

I just added the mollie larval wrapper to my project. The config file states the following: // Place the following in the 'config/services.php' // 'mollie' => [ // 'client_id' => env('MOLLIE_KEY'), // 'client_secret' => env('MOLLIE_SECRET'), // 'redirect' => env('MOLLIE_REDIRECT_URI'), // ],

What is the difference and which values do I need to use?

FaaPz commented 8 years ago

Hi @PMBergman, we've updated the config file (81415e598e30947cbc2e010dda9f3814b87c553a) to be more understandable. You only have to copy/paste this code snippet in config/services.php if you're going to use Mollie Connect.

The MOLLIE_KEY is now called MOLLIE_CLIENT_ID and should contain your unique give application ID located in Mollie Dashboard. MOLLIE_SECRET is renamed to MOLLIE_CLIENT_SECRET and should contain the associated application secret.

If you're not intending to develop an application with Mollie Connect, you can leave it commented out.