• Resolved Leinad4Mind

    (@leinad4mind)


    I’ve read this on a GIST:

    “You generally do not want to setup PMPro levels with both a recurring billing amount AND an expiration date. This SQL query will clear the expiration date for active recurring memberships.”

    Why not?

    Maybe this is causing my issues here: https://wordpress.org/support/topic/expiration-problem/

    Since I’ve recurring bills (per year) with this checked: “Membership Expiration: Check this to set when membership access expires.” (with 1 year duration)

    And it says too “Set the duration of membership access. Note that the any future payments (recurring subscription, if any) will be cancelled when the membership expires.”

    That means that if an user paid and has a subscription of 1 year, and when near the end date if the user renews, the membership will still cancel?! Is that it?

    • This topic was modified 8 years, 4 months ago by Leinad4Mind.
Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author Andrew Lima

    (@andrewza)

    I’m sorry that you feel that way, it is not our intention. We do try to cater for every user’s use-case for a membership site. Some users want their members to cancel immediately, others want users to cancel at their next billing period, this is why we have gists, blogs and guide recipes so you can tweak Paid Memberships Pro to your needs.

    Also we do not force anyone to buy a membership from our site, but we do encourage it so that users may receive higher-level support and help fund the ongoing development of Paid Memberships Pro and it’s 70+ add ons.

    If you do not wish to pay, most of the code recipes on our blog exist on GitHub along side our premium add ons.

    Here is the Github link for the code recipe – https://gist.github.com/strangerstudios/6169167#file-pmpro_cancel_on_next_payments_date-php

    I still recommend in opening a thread on http://www.paidmembershipspro.com for your IPN issue so we may have a more ‘hands-on’ approach to help debugging that and troubleshooting it further. Thank you for your understanding.

    Thread Starter Leinad4Mind

    (@leinad4mind)

    Hi there again, I’m still having issues with this.
    After fixing all the previous issues, a new one rised. So now, the subscription seems to be working via IPN, I’ve remove the expiration date from the level so it would not remove the user even if it was automatic renew by paypal, so now it appears Never on the end date as it should I beleive for a subscription.
    BUT the problem now is that if the user select to not be automatically subscribed, their end date still appear as Never when it should appear 1 year. So how can I add that 1 year if the user selected to not be automatically subscribed?

    For what I checked on the code, if the user already had a subscription and I renew with a normal payment, it handles it. Or if I’ve a normal payment and renew with a subscription, it handles it too. But if its an new user, it doesnt handle it. it should have a option to add an enddate for normal payment for a new user.

    • This reply was modified 8 years, 1 month ago by Leinad4Mind.
    Thread Starter Leinad4Mind

    (@leinad4mind)

    Any news on this?

    Ok, I have been having all the same issues that @Leina4Mind and recently with this add-on as well:

    https://github.com/strangerstudios/pmpro-subscription-check

    This plugin really needs to have more support and bug fixing.

    My main issue with PMPro is that the plugin seems to not cancel subscriptions in the website when the user cancels it from Paypal but also I have found that there are some subscribers that weren’t charged at all by PayPal and the subscriber is still enjoying the plan.

    My Membership levels are configured per year and without expire time like @Leina4Mind, the only difference is that we only handle membership automatic subscriptions but I am interested now to know what would happens if we offer no automatic renewals.

    Thread Starter Leinad4Mind

    (@leinad4mind)

    I can say that I’m using “Auto-Renewal Checkbox at Membership Checkout” and if the user choose to not go with subscription by removing the checkbox, he is moved to the correct group, BUT there is no update on the end date!

    And ofc, if I wanted to have only subscription I needed to remove the end date from the level
    And if I wanted only to have normal mode I would needed to add an end date to the level so it will be just 1 year (in my case)

    BUT if I’ve that plugin so the user can select between both what should I do?
    Do I need to select an End date?
    And if I select what will happen if an user subscribed?
    Will the end date will apply to him to?

    Right now my level doesn’t have an end date, and I beleive this plugin should add that end date in case the user selects to not subscribe.

    • This reply was modified 7 years, 10 months ago by Leinad4Mind.
    Plugin Author Jason Coleman

    (@strangerstudios)

    Edit: I gave the wrong advice early. It actually won’t even show the auto renew setting on the edit level page unless you check the recurring option.

    If you are using the auto renewal checkbox add on, make sure you have the latest version. Then setup the level with an expiration date, but don’t check recurring.

    The autorenewal checkbox add on basically swaps the expiration for a recurring membership if the user checks that box at checkout.

    Setup the level with a recurring fee. Leave the expiration unchecked. Set the level to show the auto renewal checkbox.

    The autorenewal checkbox add on basically swaps the billing period for the end date.

    If that matches your setup and you’re members are getting an end date when they checkout, then there must be some other conflict. We would need to access your site to look around and see what that might be. That’s the kind of support we do through our paid member support.

    Sorry for the confusion. I think we could do better to guide users in setup when that add on is active.

    • This reply was modified 7 years, 10 months ago by Jason Coleman.
    Plugin Author Jason Coleman

    (@strangerstudios)

    I misspoke in the post above. Note the edit.

    Thread Starter Leinad4Mind

    (@leinad4mind)

    Thank you for your reply, very appreciated.

    It actually won’t even show the auto renew setting on the edit level page unless you check the recurring option.

    Exactly!

    If you are using the auto renewal checkbox add on, make sure you have the latest version.

    I am using it and I’ve the last version .2.5

    Setup the level with a recurring fee.

    I had it already with a recurring fee.

    Leave the expiration unchecked.

    I had this unchecked already but shouldnt we add an expiration date since you wrote “basically swaps the expiration for a recurring membership” ? In any case I’ve this uncheck since if I checked this then all users will have an end date, even the recurring ones.

    Set the level to show the auto renewal checkbox.

    I had already selected “Yes. Default to check”

    So it seems I’ve all well configured. But still the biling cycle period is not being converted to the end date.

    Thread Starter Leinad4Mind

    (@leinad4mind)

    This code seems to be the culprit:

    if(!$autorenew) {
    		//setup expiration
    		$level->expiration_number = $level->cycle_number;
    		$level->expiration_period = $level->cycle_period;
    		//remove recurring billing
    		$level->billing_amount = 0;
    		$level->cycle_number = 0;
    	}

    So if there is no autorenew it will setup an expiration? That doesnt make sense.

    It should be if($autorenew == 0) since that would mean, if the user selected to have recurring subscription on the checkbox of autorenew then do the setup expiration or am I missing something?

    Maybe it should be: if(!$autorenew || $autorenew == 0)
    Dunno for sure why the !$autorenew but maybe it works when we’ve the option “Yes. Default to unchecked.” selected at admin panel, and if the user don’t do nothing and dont check the box then maybe the autorenew will be different then 0 and 1. And maybe it works like that, but if the user check and uncheck again the variable seems to be changed to 0 and therefore this if would stop working. But maybe Im debuging it wrong…

    • This reply was modified 7 years, 10 months ago by Leinad4Mind.
    • This reply was modified 7 years, 10 months ago by Leinad4Mind.
    • This reply was modified 7 years, 10 months ago by Leinad4Mind.
    • This reply was modified 7 years, 10 months ago by Leinad4Mind.
Viewing 9 replies - 16 through 24 (of 24 total)

The topic ‘Doubt about Recurring Payments’ is closed to new replies.