View Issue Details

IDProjectCategoryView StatusLast Update
5012Composrecommercepublic2022-11-16 18:22
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary5012: 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.
Attach Tags
Time estimation (hours)1
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Issue History

Date Modified Username Field Change
2022-11-05 21:51 PDStig New Issue
2022-11-05 21:51 PDStig Status Not Assigned => Assigned
2022-11-05 21:51 PDStig Assigned To => user4172
2022-11-08 20:15 Chris Graham Note Added: 0007640
2022-11-16 18:22 PDStig Status Assigned => Resolved
2022-11-16 18:22 PDStig Resolution open => fixed