forked from christophercliff/heroku-stripe-checkout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.json
40 lines (40 loc) · 1.42 KB
/
app.json
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
{
"name": "heroku-stripe-checkout",
"description": "A self-hosted service for accepting payments with Stripe Checkout.",
"website": "https://json.expert/heroku-stripe-checkout",
"keywords": [
"heroku",
"stripe",
"checkout"
],
"repository": "https://github.com/christophercliff/heroku-stripe-checkout",
"success_url": "/uptime",
"env": {
"APP_NAME": {
"description": "The name of the Heroku application.",
"value": "<your_app_name>"
},
"CORS_ORIGINS": {
"description": "A comma-delimited list of origins to accept requests from, e.g., \"https://your_domain.com,https://your_other_domain.com\". See https://developer.mozilla.org/en-US/docs/Web/HTTP/Access_control_CORS for more info.",
"value": "<your_cors_origins>"
},
"CURRENCY": {
"description": "The currency to use when submitting charges.",
"value": "usd"
},
"ERROR_REDIRECT_URI": {
"description": "The URI to redirect to if the charge fails.",
"value": "<your_error_redirect_uri>"
},
"SENTRY_DSN": {
"description": "Log application errors to a Sentry instance (optional).",
"required": false
},
"STRIPE_PUBLISHABLE_KEY": "<your_stripe_publishable_key>",
"STRIPE_SECRET_KEY": "<your_stripe_secret_key>",
"SUCCESS_REDIRECT_URI": {
"description": "The URI to redirect to if the charge is successful.",
"value": "<your_success_redirect_uri>"
}
}
}