Paid Memberships Pro Require CVV/CVC When Using Stripe

By | March 28, 2017

Paid Memberships Pro is a great WordPress plugin that allows paid subscriptions to your WordPress site.  It has tons of features and is incredibly flexible with handling subscriptions.

One of my company’s clients uses it for managing all of their memberships and uses Stripe as the payment gateway.  Stripe is also a great company — I use it for my own company and have set it up for several clients.

For reasons unknown to me, PMPro has decided that since Stripe does not require a CVV/CVC to process a payment that they will default their payment page to not require it either.  Since a valid CVV/CVC can mean the difference between a charge going through and a charge being declined, it should be required regardless of whether or not Stripe requires it or not.  Its just good security policy.

Adding this code to the end of your active theme’s functions.php will make the CVV/CVC a required field:

After adding that code, the little “*” is there denoting that its a required field and the payment will not be processed unless the enter the CVV:


2 thoughts on “Paid Memberships Pro Require CVV/CVC When Using Stripe

  1. Marta


    I’m testing this, and for some reason, it doesn’t work for me. I provide a CVV number, but it keeps showing a message saying that I must fill in all fields. I’m using Stripe on test mode.

    Is this code still working for you?


    1. marc Post author

      Sadly I can’t verify that it is or not. I’m no longer working on that project and can’t test the code any longer. Hopefully someone else may comment on this and help you out.


Leave a Reply

Your email address will not be published. Required fields are marked *