-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapp.json
More file actions
60 lines (60 loc) · 1.98 KB
/
app.json
File metadata and controls
60 lines (60 loc) · 1.98 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
{
"name": "MPESA STK Integration",
"description": "A simple Node.js application for M-Pesa STK Push integration with support for Safaricom's Daraja API.",
"author": "Morgan Miller",
"keywords": [
"mpesa",
"safaricom",
"stk-push",
"nodejs",
"daraja",
"mpesa-integration"
],
"website": "https://github.com/Frost-bit-star/MPESA#readme",
"repository": "https://github.com/Frost-bit-star/MPESA.git",
"logo": "https://telegra.ph/file/d6dab955fbaa42fce2280.jpg",
"success_url": "/",
"env": {
"CONSUMER_KEY": {
"description": "Your Consumer Key from Safaricom's Daraja API Sandbox or Production.",
"required": true
},
"CONSUMER_SECRET": {
"description": "Your Consumer Secret from Safaricom's Daraja API Sandbox or Production.",
"required": true
},
"SHORTCODE": {
"description": "Your Paybill or Till Number. For testing, use the default shortcode: 174379.",
"value": "174379",
"required": true
},
"PASSKEY": {
"description": "Your Passkey for Safaricom Daraja. Use the default Passkey for testing.",
"value": "bfb279f9aa9bdbcf158e97dd71a467cd2e0c893059b10f78e6b72ada1ed2c919",
"required": true
},
"PUSHNUMBER": {
"description": "The phone number to send the STK Push to. Use any Safaricom mpesa registered number for testing. It should be in this format: 2547xx",
"value": "254708374149",
"required": true
},
"AMOUNT": {
"description": "The amount for the transaction. Default is 1 for testing.",
"value": "1",
"required": true
},
"CALLBACK_URL": {
"description": "Your publicly accessible Callback URL for handling responses from Safaricom. This can be filled later after deployment, but it is mandatory for this project to work.",
"value": "",
"required": false
}
},
"buildpacks": [
{
"url": "heroku/nodejs"
},
{
"url": "https://github.com/clhuang/heroku-buildpack-webp-binaries.git"
}
]
}