View Issue Details

IDProjectCategoryView StatusLast Update
0005012Composrecommercepublic2022-11-16 18:22
ReporterPatrick SchmalstigAssigned ToPatrick Schmalstig 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0005012: Make separation between live and testing payment gateways more clear in config
DescriptionMake 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
TagsNo tags attached.
Time estimation (hours)1
Sponsorship open

Issue History

Date Modified Username Field Change
2022-11-05 21:51 Patrick Schmalstig New Issue
2022-11-05 21:51 Patrick Schmalstig Status non-assigned => assigned
2022-11-05 21:51 Patrick Schmalstig Assigned To => Patrick Schmalstig
2022-11-08 20:15 Chris Graham Note Added: 0007640
2022-11-16 18:22 Patrick Schmalstig Status assigned => resolved
2022-11-16 18:22 Patrick Schmalstig Resolution open => fixed