#5012 - Make separation between live and testing payment gateways more clear in config
| Identifier | #5012 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Make separation between live and testing payment gateways more clear in config |
| Status | Completed |
| Handling member | PDStig |
| Addon | ecommerce |
| Description | Make the following changes to ease the use of Payment gateway configuration options for live versus testing stores:
* Remove the Gateway testing mode username config option; use the Gateway username field instead. * Establish a new format: live=LIVE_VALUE,testing=TESTING_VALUE for each config option in Payment gateways. - When this format is used, the testing value is returned if the eCommerce system is in Testing mode, otherwise the live value is returned. - When this format is not used, or if only live or only testing is specified, then what is specified is used for both a live and testing store - If live= or testing= is specified without a value, then that denotes to use blank in that case - Ensure comma-delimited lists can be used as a value... e.g. live=foo,bar,testing=foo,bar,bandits would translate to using "foo,bar" for live, and "foo,bar,bandits" for testing. * Make a new API function that wraps get_option and returns the appropriate live or testing value depending on if we are in Testing mode |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments