-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathconfig.example.json
More file actions
64 lines (58 loc) · 2.05 KB
/
config.example.json
File metadata and controls
64 lines (58 loc) · 2.05 KB
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
{
"_comment": "Copy to config.local.json and fill in your credentials",
"port": "8080",
"environment": "development",
"log_level": "debug",
"_adapter_options": "woocommerce | wix",
"adapter_type": "woocommerce",
"merchant_id": "my-store",
"merchant": {
"store_url": "https://your-store.example.com",
"merchant_name": "My Store",
"_woocommerce_fields": "Required for adapter_type: woocommerce",
"api_key": "ck_...",
"api_secret": "cs_...",
"_wix_fields": "Required for adapter_type: wix",
"wix_client_id": "your-oauth-client-id",
"policy_links": {
"privacy_policy": "https://your-store.example.com/privacy",
"terms_of_service": "https://your-store.example.com/terms"
},
"_payment_handlers_comment": "Optional: Payment handlers for programmatic checkout. Omit to always escalate to browser.",
"payment_handlers": {
"com.google.pay": [{
"id": "gpay-checkout",
"version": "2026-01-11",
"spec": "https://ucp.dev/handlers/google.pay",
"schema": "https://ucp.dev/schemas/handlers/google.pay.handler.json",
"config": {
"allowed_payment_methods": [{
"type": "CARD",
"parameters": {
"allowed_auth_methods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
"allowed_card_networks": ["VISA", "MASTERCARD", "AMEX", "DISCOVER"]
},
"tokenization_specification": {
"type": "PAYMENT_GATEWAY",
"parameters": {
"gateway": "stripe",
"stripe:version": "2020-08-27",
"stripe:publishableKey": "pk_test_..."
}
}
}]
}
}],
"com.braintreepayments": [{
"id": "braintree-card",
"version": "2026-01-11",
"spec": "https://ucp.dev/handlers/braintree.card",
"schema": "https://ucp.dev/schemas/handlers/braintree.card.handler.json",
"config": {
"tokenization_key": "sandbox_..._merchantid",
"environment": "sandbox"
}
}]
}
}
}