Our site is hanging up at the member registration process using your Membership 2 Pro plugin

After signing up for a membership, I’m getting this message on my site when a user is going to proceed with payment: “Stripe Checkout can't communicate with our payment processor because the API key is invalid. Please contact the website owner or support@stripe.com.” I’ve tried deleting API keys and entering them again and the issue is still there.