Open Leinad4Mind opened 6 years ago
I have the same problem with the latest version of PMPro which is Version 1.9.5.3
However, it is still working for stripe but for the Paypal Flavours, it just doesn't work anymore.
Finally someone else with the same problem. I was felling alone here x'D
You are not alone bro!... xD
I opened a ticket with PMpro Support as well to see if they have some answer to this issue. I will let you know when they come back to me.
However, I have been checking the code and I found the issue with the code... this plugin has not been updated since 2 years ago and when we click Start it doesn't find anything because the new gateways have not been added to this plugin and their names are different now. I presume you are using PayPal Express as your gateway like me. So I edited the code and now it is working. Please check what I changed in the plugin:
In the form section replace the current code for this one:
`
<option value="stripe">Stripe</option>
<option value="paypalexpress">PayPal Express</option>
<option value="paypal">PayPal Website Payments Pro</option>
<option value="payflowpro">PayPal Payflow Pro/PayPal Pro</option>
<option value="paypalstandard">PayPal Standard</option>
<option value="authorizenet">Authorize.net</option>
<option value="braintree">Braintree Payments</option>
<option value="twocheckout">2Checkout</option>
<option value="cybersource">Cybersource</option>
</select>`
Note: I am still testing this change so I suggest not running it in live mode until we have tested 100% and the author of the plugin checks this as well.
Yeah, paypal express too. Thanks I'll do some tests soon!
I've runned but this seems to check if the gateway was cancelled but it doesnt check the date at all.
So if it finds a gateway that was cancelled, but the user paid for 1 year with subscription and then after let say 1 week cancelled that subscription, that user should not be removed from the membership, since he paid for 1 year at least. If I runned this plugin it will remove the plan from the user, but it shouldnt. It should check the start date instead and verify if the cycle was already surpassed. So if the user had a cancelled gateway and the purchase was made more then the cycle time (more then 1 year ago) then it should cancell it, otherwise it shouldnt cancell!
Plus in my case, I would need to edit the if(pmpro_changeMembershipLevel(0, $user->ID)) and change that 0 to 1, 1 for me is Free Membership Plan. Basically all ex-members have an discount on the next purchase. Just a new member doesnt get any discount.
Best Regards
I've 1.9.4.4 and when I run on test mode: "Checking users for orders 0 to 0. All done."
It doesnt do anything... And I've subscriptions that were cancel on paypal but are not up to date on the pmpro.