How to Fix User Subscriptions After Deleting a Live Payment Gateway

If you have deleted a payment gateway from the MemberPress > Options > Payments tab that is currently associated with active automatically recurring subscriptions*, then those subscriptions will not update correctly in MemberPress after the payment occurs on the gateway. This is because the connection between the gateway and MemberPress was deleted when you deleted the payment gateway option. 

If you have many automatically recurring subscriptions that were connected to the now deleted gateway here is what you need to do to fix them:

  1. Recreate the gateway following the setup instructions for it. These can be found here
  2. Follow the import instructions here to import the subscriptions. In this step, be sure to import them connected with the gateway you recreated in step #1.
  3. (Optional, but recommended) Go through the MemberPress > Subscriptions page and delete all the subscriptions that were connected with the now deleted gateway. You can identify them because under the Gateway column on the MemberPress > Subscriptions page, you will see a unique ID number that was associated with your old gateway. For example, you may see something like, "pea5pn-8cz," instead of, "Stripe". MemberPress forces you to delete these one-by-one, there is no mass delete option. This will help clean up your site and prevent any confusion in the future for you and other admins. 

If you only had a few automatically recurring subscriptions that were connected to the now deleted gateway you may find these steps easier to follow:

  1. Recreate the gateway following the setup instructions for it. These can be found here
  2. Navigate to the MemberPress > Subscriptions page. 
  3. Find the subscription associated with the old, now deleted gateway. 
  4. Click edit on the Subscription after hovering over it's unique ID. 
  5. Find the Gateway: option and using the drop down, select your newly created gateway from step #1.
  6. Click the Update button at the bottom to save. 
  7. Repeat for every automatically recurring subscriptions connected to the deleted gateway. 

*Note: One-time payment type subscriptions are NOT affected by deleting the gateway. This is because they have to signup again, re-instigating the purchase to renew or subscribe again. In that process they have the option to select any other gateway on your site.