Remove deprecation warning.
Fix parsing of store credit value in shop frontend.