-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathckpaypalConfig.js
41 lines (30 loc) · 1.16 KB
/
ckpaypalConfig.js
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
/**
* Plugin CKPaypal
* Copyright (c) <2014> <Jacques Malgrange [email protected]>
* License MIT
*/
//
// DEFAULT VALUE FOR YOUR PAYPAL ACCOUNT
//
// business email - <input type="hidden" name="business" value="[email protected]">
paypalMail='[email protected]';
// URL for the IPN file : 'http://www.mysite.com/yes/we/can/my-ipn.php'
paypalUrl='http://www.mysite.com/ipn.php';
// Return URL : 'http://www.mysite.com'
paypalHome='http://www.mysite.com';
// Currency - <input type="hidden" name="currency_code" value="USD">
paypalCurr='EUR';
// Tax rate - <input type="hidden" name="tax_rate" value="20.000">
paypalTax=0;
// 1 : Tax include in the price (that change the price in input tag. !!! Round +- 0.01 !!!) - 0 : plus tax (normal operation of paypal)
paypalTaxIncl=0;
// 1 : SANDBOX (test) - 0 : Production
paypalSand=0;
// appearance --- 'CC_LG' : large button with flag - '_LG' : large button - '_SM' : small button
paypalApp='_LG';
// 'products' or 'services' <input type="hidden" name="button_subtype" value="products">
paypalAct='products';
// Donation --- 0 : free donation - 1 : fixed value
paypalDonval=0;
// lang (en_US)
paypalLang5='en_US';