Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Jason Coleman

    (@strangerstudios)

    If you have any discount codes created, there should be a “discount code” field on your checkout page. Ask your users to enter the code there.

    You can also pass the discount code via the url by adding &discount_code=CODE to the end of your checkout URL for a certain level.

    If this doesn’t happen, make sure you have the latest version of PMPro. If you’ve created a template for your checkout page instead of using the default, make sure that you have the discount code code in there… or add a field with the name “discount_code” to your form.

    hello,
    i have made the discount code for one month but it doesn’t work.
    the users can’t still watch the videos.
    Moreover, something is wrong with the paypal, one member paid and he can’t watch the videos.
    my site is webstudies.gr
    could you help me with that please?
    i really don’t know what to do.
    thank you

    Plugin Author Jason Coleman

    (@strangerstudios)

    melpomeni, if you need more hands on support, you can sign up at https://www.paidmembershipspro.com.

    thank you

    When I define a trial period of $X for X months, in Paypal it is showing $0 for X months for the trial period I defined. Initial payment and recurring payments after trial period are correct.

    Same problem occurs when defining discount codes. Trial period in PayPal displays $0.

    https://www.ads-software.com/extend/plugins/paid-memberships-pro/

    Plugin Author Jason Coleman

    (@strangerstudios)

    Thanks, Jason. I’ll see if I can reproduce that.

    You are saying that any PayPal trial period you setup than isn’t $0 is still coming through as $0 per period during the trial?

    If you can give me your exact membership level payment details and the exact details for the discount code, it will help me test in case it’s not blindingly obvious what is going wrong.

    Thanks.

    You’re awesome!

    Go Daddy just went down…waiting for it to come back up and I will provide you with the issues details asap.

    Here are my settings in PMP

    Initial Payment: 174.95
    Recurring Subscription: Checked
    Billing Amount: 224.95 per 1 month
    Cycle: 0

    Custom Trial Period: Checked
    Trial billing amount: 174.95 for the first 11 payments

    Based on this, we should have initial payment at 174.95, then 11 payments of 174.95, then 224.95 indefinite.

    What is happening in PayPal is this:

    Initial Payment: 174.95
    Trial Period: $0.00 for 11 cycles
    Regular Recurring Payment: 224.94 indefinite

    Same thing happens with discount codes.

    Re-tested on a clean WP install with no other plugins. Same issue happened.

    Plugin Author Jason Coleman

    (@strangerstudios)

    FYI, I am able to recreate this bug and am working on a fix. I will include the fix in the 1.5.2 update and post a patch here.

    Will hopefully get through it with testing tonight.

    Plugin Author Jason Coleman

    (@strangerstudios)

    Jason, thanks for bearing with me. I really appreciate you bringing this to my attention. I’m honestly surprised no one else has noticed, but I suppose most folks use the trial feature for free trials.

    I was worried this would be a large fix, but actually it’s a typo in the API call to PayPal.

    PMPro 1.5.2 will have the fix, but to patch your version of PMPro, make these edits.

    In the ../paid-membership-pro/classes/gateways/class.pmprogateway_paypal.php and class.pmprogateway_paypalexpress.php files, find any occurance of TRIALAMNT= (with an N in there) and change it to TRIALAMT (without the N).

    There should be 3 locations across those two files… in the “subscribe” and “setExpressCheckout” functions.

    After making that change, the subscriptions looked correct in my PayPal testing environment.

    WARNING: After making this fix, I started getting “Internal Error” messages when checking out with a credit card (Website Payments Pro) using the sandbox/testing environment. I’ve heard of this issue. Not sure if it will affect live PayPal environments as well. Following up with PayPal. The code looks clean… and does work fine through PayPal Express… but this error might indicate something else going on.

    To clarify,

    I changed any instance of ” TRIALAMNT= ”

    and changed it to ” TRIALAMT= “

    This seems to have worked fine. Thanks.

    Also, we are receiving MANY emails back from PayPal with the subject “Membership Payment Failed”. Thoughts?

    We are using PayPal Express here:
    https://www.kawamurafinancial.com/account/membership-checkout?level=2

    Plugin Author Jason Coleman

    (@strangerstudios)

    Can you email me the PayPal emails to [email protected]. I can’t tell what is going on there.

    The payments could be failing for any number of reasons.

    PMPro is setup to give users access as soon as PayPal set’s up the payment. It trusts PayPal to figure out that the payment will go through. However, maybe it won’t for some reason. You would need to manually deactivate a user and follow up when this happens.

    Another PMPro user was getting too many of these and decided to stop using PMPro (I think). It’s conceivable to automate this by not giving users access right away and updating the IPN handler to look for the payment complete message (which could take 5 minutes to 2 days to come through) and THEN give the user access.

    We didn’t code it this way upfront because that is not really the best user experience and I didn’t think these failed payments would be an issue. However, it seems like some combination of account, product, etc, encourages more failed payments/etc.

    Thanks again for your quick reply.

    First, I wanted to let you know that updating AMNT to AMT worked for resolving the trial error bug.

    Regarding the “Membership Payment Failed” emails that are being sent from the website (not PayPal), I have forwarded you a copy of the email that is being sent out.

    My client receives these frequently, sometimes dozens within an hour.

    We do not know what is triggering the “payment failed” emails to be sent out. Our fear if that users are trying to sign up and getting errors that we cannot replicate. Hopefully it is a bug and not actual failed member sign ups.

    Based on the email templates setup in the PMP plugin, maybe you can pinpoint what is triggering these emails to be sent out so often and find a resolution.

    Also, from your experience, what advantages would there be in using PMP with PayPal Pro or authorize.net as opposed to PayPal Express in potentially reducing/minimizing sign up errors or sign up conversions?

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘[Plugin: Paid Memberships Pro] Usage of Discount codes’ is closed to new replies.