forked from jbillimoria/JavaScriptButtons
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.js
More file actions
52 lines (32 loc) · 766 Bytes
/
constants.js
File metadata and controls
52 lines (32 loc) · 766 Bytes
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
'use strict';
module.exports = {
BN_CODE: 'JavaScriptButtons_{label}',
PAYPAL_URL: 'https://{host}/cgi-bin/webscr',
PRETTY_PARAMS: {
name: 'item_name',
number: 'item_number',
locale: 'lc',
currency: 'currency_code',
recurrence: 'p3',
period: 't3',
callback: 'notify_url',
button_id: 'hosted_button_id'
},
WIDGET_NAME: 'paypal-button-widget',
DEFAULT_HOST: 'www.paypal.com',
DEFAULT_TYPE: 'button',
DEFAULT_LABEL: 'buynow',
DEFAULT_SIZE: 'large',
DEFAULT_STYLE: 'primary',
DEFAULT_LOCALE: 'en_US',
DEFAULT_ENV: 'www',
DEFAULT_TARGET: '_top',
TEMPLATES: '$TEMPLATES$',
STRINGS: '$STRINGS$',
STYLES: '$STYLES$',
LOGO: '$LOGO$',
WORDMARK: {
primary: '$WORDMARK_PRIMARY$',
secondary: '$WORDMARK_SECONDARY$'
}
};