Closed davjand closed 11 years ago
Can we not just store the config in the symphony config - I think this would be the easiest solution
I'd rather keep it separate if I could? I would still put it in manifest so it was out of Git, but I wouldn't want to read/write the symphony config directly and the symphony config functions wouldn't be versatile enough for us.
Yeah that's fine, lets just put it in the manifest thenf Kind Regards, David
On 22 Dec 2012, at 19:46, Tom Johnson notifications@github.com wrote:
I'd rather keep it separate if I could? I would still put it in manifest so it was out of Git, but I wouldn't want to read/write the symphony config directly and the symphony config functions wouldn't be versatile enough for us.
— Reply to this email directly or view it on GitHub.
I've centralised the config code in the extension.driver.php and set it to save into sc_config.php in manifest. I've also updated all the config references in other files.
Currently there are a couple of issues with the config file:
The config file needs to be in the workspace or manifest folder and created on install (and deleted on uninstall)
Also in the current extension there doesn't seem to be any way to put in the additional parameters needed for sagepay (such as public key) so there is no way to configure it properly.