• Resolved signalpath

    (@signalpath)


    I need to offer 50% off of the first month of the membership via “Initial Payment” OR a discount code, so that a user can’t just cancel the account and re-subscribe to receive the discount again. Not possible?

    It seems to somewhat defeat the purpose of the Initial Payment option if members can just cancel after one month and then re-subscribe. Am I wrong?

    There also doesn’t seem to be a function that prevents a user account from using a discount code multiple times.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Theunis Coetzee

    (@ipokkel)

    Hi @signalpath ,

    Thank you for reaching out to Paid Memberships Pro.

    You or your developer should be able to implement customizations to suite site-specific requirements with some customization code that hooks into available action and filter hooks.

    Preventing a user account from using a discount code multiple times should be achievable with some customization code that hooks into the pmpro_after_checkout action to store discount codes used during checkout to the user meta and then use the boolean pmpro_check_discount_code filter to check the user meta if the discount code was used before and return a false to prevent that discount code being used again by the user.

    I hope this helps get you started.

    Kind regards,
    Theunis C.

    Thread Starter signalpath

    (@signalpath)

    Theunis,

    I don’t have the PHP knowledge to do this. Does PMP offer custom code development that could help us implement this?

    Thanks,
    Brad

    Plugin Author Andrew Lima

    (@andrewza)

    Hi Brad,

    We do not offer custom development, you may post a job offering to https://jobs.wordpress.net or find a local WordPress developer/freelancer.

    Thank you for your patience and understanding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Discounted first month ONLY ONCE’ is closed to new replies.