Is it possible to store payment gateway settings in the file system, eg config.php?

For example, I might want to have different settings for different environments, eg test gateway API for staging server/site and live gateway API for production server/site

Thoughts appreciated


This is not currently possible with Store - the way Omnipay is integrated with its abstracted settings methods it only looks in the database. A good feature request for Vector though! (Likewise for CartThrob.)

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.