try using new version of stripe lib that supports refresh_token.
store the publishable test key generated by the refresh token.
typo.
coding blindfolded leads to errors.
match display of live/test to correctly match boolean value.