/* Automatically adjust to `modify="0"` ( when an Initial/Trial Period is configured ), and a User is either NOT logged-in, or has nothing to modify. */
$attr["modify"] = ($attr["modify"] === "1" && (!is_user_logged_in () || !get_user_option ("s2member_subscr_id")) && $attr["tp"]) ? "0" : $attr["modify"];
Statistics: Posted by Jason Caldwell — June 5th, 2011, 9:03 pm
Statistics: Posted by Jason Caldwell — April 7th, 2011, 7:34 am
Statistics: Posted by Jason Caldwell — April 4th, 2011, 4:36 am
Statistics: Posted by OWeekly — April 4th, 2011, 3:56 am
Statistics: Posted by Jason Caldwell — April 4th, 2011, 2:43 am
Jason Caldwell wrote:
Hi Allan. Thanks for the great questions.
Problem #1, appears to be related to this confusing aspect of PayPal®.
~ It's not a bug, it just creates some confusion during testing.
viewtopic.php?f=4&t=2894&p=8710#p8710
Problem #2, not a bug, but this configuration is hard-coded into the current release.
@TODO :: We need to at least provide Filters with the ability to change these values.
In the mean time, you can open this file and make the changes necessary.
/s2member-pro/includes/classes/gateways/paypal/paypal-checkout-in.inc.php
Find all occurrences of:
- Code:
$paypal["MAXFAILEDPAYMENTS"] = "2";
$paypal["AUTOBILLOUTAMT"] = "AddToNextBilling";
Change the occurrences to this, if you prefer:
- Code:
$paypal["MAXFAILEDPAYMENTS"] = "1";
$paypal["AUTOBILLOUTAMT"] = "NoAutoBill";
Statistics: Posted by OWeekly — April 4th, 2011, 2:08 am
0 – allows subscribers to only create new subscriptions
1 – allows subscribers to modify their current subscriptions or sign up for new ones
2 – allows subscribers to only modify their current subscriptions
Statistics: Posted by Jason Caldwell — April 3rd, 2011, 11:02 am
Statistics: Posted by OWeekly — April 3rd, 2011, 9:56 am
$paypal["MAXFAILEDPAYMENTS"] = "2";
$paypal["AUTOBILLOUTAMT"] = "AddToNextBilling";
$paypal["MAXFAILEDPAYMENTS"] = "1";
$paypal["AUTOBILLOUTAMT"] = "NoAutoBill";
Statistics: Posted by Jason Caldwell — April 3rd, 2011, 7:05 am
Statistics: Posted by OWeekly — March 31st, 2011, 5:28 am