Title: Error applying discount code [1]
Last modified: August 21, 2016

---

# Error applying discount code [1]

 *  [fitzala](https://wordpress.org/support/users/fitzala/)
 * (@fitzala)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-applying-discount-code-1-2/)
 * Hi,
 * You’ve made a great plugin, really like it except I can’t get discount codes 
   to work. Running Vertex theme. I’ve made a few different codes and each throws“
   Error applying discount code [1]”.
 * I receive the same message when I input discount codes I’ve made or a random 
   array of letters. We’re still in test mode.
 * You can try discount code for bootcamp option : fit6months
 * Initial Payment: $0
    Recurring Subscription checked Billing Ammount: $30 per 
   1 month Custom Trial Period checked Trial Billing Amount $0 for first 5 months
 * I’ve tried it with and without Recurring Subscription option checked and with
   and without Custom Trial Period checked.
 * website: [http://fitzala.com](http://fitzala.com)
    Checkout page: [http://fitzala.com/personal-training-plans/](http://fitzala.com/personal-training-plans/)
 * Thanks, I’d really appreciate any insights or direction.
 * [http://wordpress.org/plugins/paid-memberships-pro/](http://wordpress.org/plugins/paid-memberships-pro/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Jason Coleman](https://wordpress.org/support/users/strangerstudios/)
 * (@strangerstudios)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/error-applying-discount-code-1-2/#post-4537515)
 * This is a really subtle one. For some reason the AJAX URL used to check the discount
   codes is being generated with an HTTP instead of HTTPS. PMPro uses the admin_url()
   function, which should recognize that you are on an HTTPS/SSL page and use the
   correct protocol there, but something is interfering.
 * It’s possible that checking the “Nuclear Option” on the PMPro payment settings
   page will clear this up.
 * If not, someone will need to troubleshoot where the incompatibility is coming
   from (see if changing themes or deactivating other plugins fixes it) and figure
   out a fix.
 * We could do this for our paid support members [http://www.paidmembershipspro.com/pricing/](http://www.paidmembershipspro.com/pricing/)

Viewing 1 replies (of 1 total)

The topic ‘Error applying discount code [1]’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

## Tags

 * [coupon code](https://wordpress.org/support/topic-tag/coupon-code/)
 * [discount code](https://wordpress.org/support/topic-tag/discount-code/)

 * 1 reply
 * 2 participants
 * Last reply from: [Jason Coleman](https://wordpress.org/support/users/strangerstudios/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/error-applying-discount-code-1-2/#post-4537515)
 * Status: not resolved