[Membership 2 Pro] Getting 502 error when trying to activate payment gateway

When trying to update fields in the Stripe Single Gateway (it is setup in test mode for now) the site completely hangs and then I get a 502 error. My hosting is WpEngine. This just started happening once I installed and started configuring the Membership 2 Pro plugin.