forked from drastik/com.drastikbydesign.stripe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
73 lines (49 loc) · 2.63 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
------------
Please Read:
There are 3 versions included by directory. Installation instructions for each further below:
extension-4.1: Extension for CiviCRM 4.1 and earlier.
extension-4.2: Extension for CiviCRM 4.2.
source: Pre-extension method, folder structure is in tact, place files accordingly.
You also need a corresponding module for your CMS (4.2 does not). Here is where the modules can be found:
Drupal: git clone --recursive --branch master http://git.drupal.org/sandbox/drastik/1719796.git civicrm_stripe
Joomla: TBD
WordPress: TBD
IMPORTANT:
The Webhook.php file is in the 'extern' folder.
You have to make a Webhook rule in your Stripe account and enter the path to Webhook.php for recurring charges to end!
For Pre-Extension (source) method:
-You will need to run the .sql file to make sure the database tables get created & Stripe is added as a payment processor option.
------------
Installation Instructions:
------------
For CiviCRM 4.2
extension-4.2 instructions:
Install extension
You do not need the CMS module for 4.2
Copy Stripe's PHP library folder 'stripe-php' to civicrm/packages/stripe-php
You can get Stripe's PHP library here: https://github.com/stripe/stripe-php
------------
For CiviCRM 4.1
extension-4.1 instructions:
Install extension
Place civicrm_templates folder anywhere and inform CiviCRM of your "Custom Templates" location in this admin page: site.com/civicrm/admin/setting/path
Copy files in extern to your CiviCRM extern folder "civicrm/extern"
Make a Webhook rule in your Stripe account and enter the path to Webhook.php
Copy Stripe's PHP library folder 'stripe-php' to civicrm/packages/stripe-php
You can get Stripe's PHP library here: https://github.com/stripe/stripe-php
------------
Pre-extension (source) instructions:
Folder structure is left in tact.
Place Stripe.php in civicrm/CRM/Core/Payment/Stripe.php
Place civicrm_templates folder anywhere and inform CiviCRM of your "Custom Templates" location in this admin page: site.com/civicrm/admin/setting/path
Copy files in extern to your CiviCRM extern folder "civicrm/extern"
Make a Webhook rule in your Stripe account and enter the path to Webhook.php
Copy Stripe's PHP library folder 'stripe-php' to civicrm/packages/stripe-php
You can get Stripe's PHP library here: https://github.com/stripe/stripe-php
Run the included SQL file "civicrm_stripe.sql" to handle the DB-related needs. It will:
Insert Stripe into civicrm_payment_processor_type (makes it available as an option within CiviCRM's payment processor settings)
It will create the required tables:
civicrm_stripe_customers
civicrm_stripe_plans
civicrm_stripe_subscriptions
------------