ruby on rails - Live Mode Stripe Error `can't communicate with our payment processor because the API key is invalid.` -


i got app working on stripe's test mode, when flipped toggle switch live on stripe dashboard , changed stripe_publishable_key , stripe_secret_key on secrets.yml file keep getting error:

stripe checkout can't communicate our payment processor because api key invalid. please contact website owner or support@stripe.com.

i'm not sure code put on here people troubleshoot because working fine in test mode, here's structure of secrets.yml:

development:   secret_key_base: ***secret key base here***   stripe_publishable_key: ***publishable key here***   stripe_secret_key:  ***secret key here***  test:   secret_key_base: ***secret key base here***  # not keep production secrets in repository, # instead read values environment. production:   secret_key_base: <%= env["secret_key_base"] %>   stripe_publishable_key: env['stripe_publishable_key']   stripe_secret_key: env['stripe_publishable_key'] 

i checked other posts this one none of these steps fixed issue. can add insight?

with edits found in comments section, error has disappeared, these console errors (along eternal pinwheel) persist:

enter image description here


Comments

Popular posts from this blog

asp.net - How to correctly use QUERY_STRING in ISAPI rewrite? -

jsf - "PropertyNotWritableException: Illegal Syntax for Set Operation" error when setting value in bean -

laravel - Undefined property: Illuminate\Pagination\LengthAwarePaginator::$id (View: F:\project\resources\views\admin\carousels\index.blade.php) -