1. How to install a plugin
-----------------------------------------------
	1.1 Before script installation
		- Copy the plugin folder and paste it into 'app/plugins/'
		- Do the same for all the plugins you need, then install the script

	1.2 After script installation
		- Copy the plugin folder and paste it into 'app/plugins/'
		- Manually run the plugin *.sql file(s), located in 'app/plugins/pjStripe/config/'
		  (config/database.sql first, then config/updates/*.sql in date order)


2. How to enable a plugin
-----------------------------------------------
	Add plugin name to $CONFIG['plugins'] array into 'app/config/config.inc.php' and 'app/config/config.sample.php'
	For example:
	<?php
	$CONFIG['plugins'] = array('pjPaypal', 'pjStripe');
	?>


3. How to use the plugin across the script
-----------------------------------------------
	// Build data for the Stripe Checkout form (presentation layer)
	$this->set('params', array(
		'name'          => 'tbStripe',
		'id'            => 'tbStripe',
		'public_key'    => $this->option_arr['o_stripe_public_key'],
		'private_key'   => $this->option_arr['o_stripe_private_key'],
		'item_name'     => 'Cinema booking',
		'custom'        => $invoice_arr['uuid'],
		'amount'        => $invoice_arr['paid_deposit'],
		'currency_code' => $this->option_arr['o_currency'],
		'notify_url'    => PJ_INSTALL_URL . 'index.php?controller=pjFront&action=pjActionConfirmStripe',
		'cancel_hash'   => sha1($arr['uuid'] . strtotime($arr['created']) . PJ_SALT),
	));

	// Confirm a payment from a controller
	$response = $this->requestAction(array(
		'controller' => 'pjStripe',
		'action'     => 'pjActionConfirm',
		'params'     => $params
	), array('return'));
