PHP code example of josmarh / jvzoo-ipn

1. Go to this page and download the library: Download josmarh/jvzoo-ipn 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/ */

    

josmarh / jvzoo-ipn example snippets


Event::listen(SaleReceived::class, function ($event) {
    // Create user, assign plan, etc.
});


return [
    'secret_key' => env('JVZOO_SECRET'),
    'route_prefix' => 'jvzoo',
];

bash
php artisan vendor:publish --tag=jvzoo-ipn-config