Commits

Thomas Tornevall authored 5f31eb15fca
RWC-364 Close #90. * Update: rbenabled is included in "ignore on reload". * Update: e.preventDefault() on clickables prevents checkboxes to be changed. * Add: Set state on payment method live (rbwcMethodState). Requires admin. Enable/disable payment methods in realtime. * Update: src/Gateway/ResursDefault.php is_available now includes payment method settings "enabled". * Add: isPaymentMethodEnabled * Add: getPaymentMethodNameSpace (which sets one configuration space per payment method on environment_user level). Free to add new settings on the fly. * Add: getPaymentMethodSettings -- returning all settings stored in one "namespace". * Add: setPaymentMethodSetting. * Add getPaymentMethodSetting (the magic resolver for payment method settings). * Update: checked tag is now included in allowed html. * Add: Mock for namespace-fetcher to see if we really can handle errors. * Add: setMethodState plugin action. * Add: getCredentialString so that we can make a difference between env_username_<string>. * Update: templates/adminpage_paymentmethods.phtml now handles realtime changing enabled/disabled method.