<commit_before>CakePHP Stripe Payment Processing Component
===========================================

This is a simple component that interfaces a CakePHP app with Stripe's PHP API library. Pass the
component an array containing at least an amount and a Stripe token id, it will attempt the charge
and return an array of the fields you want. 

Compatibility:
--------------

Tested with CakePHP 2.2.x, though should work with any 2.x version. The required Stripe PHP API
library requires PHP 5 with cURL support.

Installation:
-------------

You will need the component (packaged as a plugin), and Stripe's PHP library (not included). The
Stripe library needs to be in this plugin's Vendor directory and must be named 'Stripe'. Using git, 
something like this:

	git clone <EMAIL>:chronon/CakePHP-StripeComponent-Plugin.git APP/Plugin/Stripe  
	git clone git://github.com/stripe/stripe-php.git APP/Plugin/Stripe/Vendor/Stripe

Configuration:
--------------

All configuration is in APP/Config/bootstrap.php.

**Required:** Load the plugin:
	
	CakePlugin::load('Stripe', array('bootstrap' => false, 'routes' => false));

**Required:** Set your Stripe secret API keys (both testing and live):

	Configure::write('Stripe.TestSecret', 'yourStripeTestingAPIKeyHere');
	Configure::write('Stripe.LiveSecret', 'yourStripeLiveAPIKeyHere');<commit_msg>Updating docs to state tested with CakePHP 2.3.<commit_after>CakePHP Stripe Payment Processing Component
===========================================

This is a simple component that interfaces a CakePHP app with Stripe's PHP API library. Pass the
component an array containing at least an amount and a Stripe token id, it will attempt the charge
and return an array of the fields you want. 

Compatibility:
--------------

Tested with CakePHP 2.2.x and 2.3.x. The required Stripe PHP API library requires PHP 5 with cURL 
support.

Installation:
-------------

You will need the component (packaged as a plugin), and Stripe's PHP library (not included). The
Stripe library needs to be in this plugin's Vendor directory and must be named 'Stripe'. Using git, 
something like this:

	git clone <EMAIL>.com:chronon/CakePHP-StripeComponent-Plugin.git APP/Plugin/Stripe  
	git clone git://github.com/stripe/stripe-php.git APP/Plugin/Stripe/Vendor/Stripe

Configuration:
--------------

All configuration is in APP/Config/bootstrap.php.

**Required:** Load the plugin:
	
	CakePlugin::load('Stripe', array('bootstrap' => false, 'routes' => false));

**Required:** Set your Stripe secret API keys (both testing and live):

	Configure::write('Stripe.TestSecret', 'yourStripeTestingAPIKeyHere');
	Configure::write('Stripe.LiveSecret', 'yourStripeLiveAPIKeyHere');
{'fraction_non_alphanumeric': 0.1441808747220163, 'fraction_numerical': 0.00407709414381023, 'mean_word_length': 4.35515873015873, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1624957', 'n_tokens_mistral': 804, 'n_tokens_neox': 750, 'n_words': 297}