online-store icon indicating copy to clipboard operation
online-store copied to clipboard

Config.json sample?

Open ghost opened this issue 6 years ago • 3 comments

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

ghost avatar Jun 20 '18 08:06 ghost

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

mutebg avatar Jun 21 '18 16:06 mutebg

Brillant Thank You! This is super helpful!!!

ghost avatar Jun 21 '18 17:06 ghost

So glad this thread is here - thank you!

tjharrop avatar Mar 30 '20 05:03 tjharrop