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

1 Answer 1


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 agree to our terms of service and acknowledge you have read our privacy policy.

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