online-store
online-store copied to clipboard
Config.json sample?
Hello!!
I am trying to test the Braintree integration. inits.js requires config.json to exist, but it's not included in the repo. I understand this is private as it's referenced in the .gitignore.
Therefore would you be able to send a sample of what the contents of the config.json should look like? I've have tried the following, but firebase complains that it can't find the merchant id
{ "merchant_id" : "XXXXXXXXXXXXXXXX", "public_key" : "YYYYYYYYYYYYYYYY", "private_key" : "ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ" }
You are right, I should have included an example of the config
{
"bt": {
"merchant_id": "xxxx",
"private_key": "xxx",
"public_key": "xxx"
},
"mailgun": {
"api_key": "xxx",
"domain": "xxxx.mailgun.org"
},
"global": {
"sender_email": "[email protected]",
"sender_name": "online shop",
"admin_email": "[email protected]",
"domain": "xxxx.firebaseapp.com",
"name": "OnlineMagazine"
}
}
Brillant Thank You! This is super helpful!!!
So glad this thread is here - thank you!