mutebg / online-store

18 stars 3 forks source link

Config.json sample? #13

Open ghost opened 6 years ago

ghost commented 6 years ago

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" }

mutebg commented 6 years ago

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": "xxx@gmail.com",
        "sender_name": "online shop",
        "admin_email": "xxx@gmail.com",
        "domain": "xxxx.firebaseapp.com",
        "name": "OnlineMagazine"
    }
}
ghost commented 6 years ago

Brillant Thank You! This is super helpful!!!

tjharrop commented 4 years ago

So glad this thread is here - thank you!