|
Thanks mike for getting back to me, much appreciated, i’ll try both of them to see wich one bests suits my needs, i’ll try first the option 1.
Set rr=”1″ so that payments and access to the site will both recur on an interval that you choose. ~ ONGOING access being the key here.
I’ll let you know how it go, just a few notes regarding the EOT, as i have me shortcodes setup right now ( examples above ) i do not get any EOT at all, not until the customer is dometed after the free trial, i get in the , and the other thing and must importing will be to know the EOT behavior in this case ( option 1, you just suggested ), do i get a single EOT for the hall time, 7 days free + 1 moth pay, or do i get two sets of EOT, one for the trial and then one after the payment.
Thakns again mike, i’ll let you know as soon as i can ( at least two days, have to test it live and the least amount of time for the trial will be 1 day )
|
|
Hi Cristian, no we do not have the DPRP enable in our PAYPAL – PRO account, because at the time we do not offer any recurring SUBSCRIPTION.
Looks like im a little confused about how the pro-form supposed to work, when it comes to adding the free trial option, i mean, already seen the video tutorials and guide lines the s2member provides about this topic, particularly this one that covers specifically what im trying to achieve ( 7 days free trail and then $15 for 1 month subscription – none recurring ), about minute 8:30 in the video said the with this particular model we wont need to have the recurring future to make this work ( it supouse to setup a single EOT wich covers the free trial period and the payment period ) but i know this may have been changed, and if that it’s the case.
How can i make this work without having to get the RECURRING BILLING FUTURE in paypal?
Is it possible ?
Any way around it ?
Thanks agian sorry to be such a pain in the a**, im trying to make this work properly
|
|
Hi Cristián, thank you for answering, sorry if i did not mention it, we do have PAYPAL PRO, and we are setting PROFORM as non recurring – subscription with a trial period
Actually i did kind of find out what its generating the problem. The subscription it self supposed to be $15 for 1 moth non-recuring pay access with 7 day trial period, here is the shortcode generated for that particular scenario
[s2Member-Pro-PayPal-Form level="2" ccaps="" desc="1 Week free / then $15 USD / One Time (for 1 month access, non-recurring)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="roofshingles.skyviewestimator.com" ta="0" tp="1" tt="W" ra="15" rp="1" rt="M" rr="0" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
The problem happens whenever the tp ( trail period ) its different to 0 ( when ever the free trial period its added to the pro-form) , and then if the customer pay with credit card ( direct payment ) got the error
Error #11586. DPRP is disabled. DPRP is disabled for this merchant ( note: if the customer pays using paypal with in this scenario the payment it’s process normally )
Now if the proform it’s setup as non-recurring – no-trial period, here is the shortcode for it
[s2Member-Pro-PayPal-Form level="2" ccaps="" desc="$15 USD / One Time (for 1 month access, non-recurring)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="roofshingles.skyviewestimator.com" ta="0" tp="0" tt="W" ra="15" rp="1" rt="M" rr="0" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
The payment process normally, either pay with paypal or credit card.
So the problem seems to be whenever PROFORM it’s setup as NON-RECURING PAY SUBSCRIPTION WITH FREE TRIAL PERIOD, im been following the process for generate the FORM for this particular scenario ( PAY NON-RECURING SUBSCRIPTION WITH FREE TRIAL PERIOD ) here, wich is pretty straightforward, and for some reason can not get it to work as it should be.
I’m not quite sure if im doing something wrong when generanting the PROFORM or if something else its giving me the problem, please advice.
Thanks one more time.
|
|
A quick follow up of this,
I call paypal support a few time to now, and what they are telling me of why we are having this problem is, transaccion its been process as a ” CreateRecurringPaymentsProfile “, thats what its showing in they’re logs
i’m been looking through the LOG files in the s2member ( sweet future btw ), and this is one of them
LOG ENTRY: Tue Mar 12th, 2013 @ precisely 7:05 pm UTC
PHP v5.3.21 :: WordPress® v3.5.1 :: s2Member® v130221 :: s2Member® Pro v130221
Memory 37.14 MB :: Real Memory 37.50 MB :: Peak Memory 37.21 MB :: Real Peak Memory 37.50 MB
roofshingles.skyviewestimator.com/xxxxxxxx/
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0
-------- Input vars: ( Tue Mar 12, 2013 7:05:10 pm UTC ) --------
array (
'METHOD' => 'CreateRecurringPaymentsProfile',
'EMAIL' => 'xxxxxx@hotmail.com',
'FIRSTNAME' => 'xxx',
'LASTNAME' => 'xxxx',
'SUBSCRIBERNAME' => 'xxxx',
'DESC' => '7 Days free / then $1 USD / One Time (for 1 month access,...',
'PROFILEREFERENCE' => '1363763110:7 D:1 M~roofshingles.skyviewestimator.com~2',
'CURRENCYCODE' => 'USD',
'AMT' => '1.00',
'TAXAMT' => '0.00',
'MAXFAILEDPAYMENTS' => '2',
'AUTOBILLOUTAMT' => 'AddToNextBilling',
'PROFILESTARTDATE' => '2013-03-20T00:00:00Z',
'BILLINGPERIOD' => 'Month',
'TOTALBILLINGCYCLES' => '1',
'BILLINGFREQUENCY' => '1',
'CREDITCARDTYPE' => 'Visa',
'ACCT' => '************xxxx',
'EXPDATE' => 'xxxxxx',
'CVV2' => 'xxx',
'STREET' => 'xxxxxxxxxxx',
'CITY' => 'xxxxxxxx',
'STATE' => 'xx',
'COUNTRYCODE' => 'US',
'ZIP' => 'xxxx',
'VERSION' => '71.0',
'USER' => 'xxxxxxxxxxxxxxxxxxxxxxxxx',
'PWD' => 'xxxxxxxxxxxxxxxxxxxxxxxxx',
'SIGNATURE' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
)
-------- Output string/vars: ( Tue Mar 12, 2013 7:05:11 pm UTC ) --------
TIMESTAMP=2013%2d03%2d12T19%3a05%3a11Z&CORRELATIONID=ea025e0610987&ACK=Failure&VERSION=71%2e0&BUILD=5294323&L_ERRORCODE0=11586&L_SHORTMESSAGE0=DPRP%20is%20disabled%2e&L_LONGMESSAGE0=DPRP%20is%20disabled%20for%20this%20merchant%2e&L_SEVERITYCODE0=Error
array (
'TIMESTAMP' => '2013-03-12T19:05:11Z',
'CORRELATIONID' => 'ea025e0610987',
'ACK' => 'Failure',
'VERSION' => '71.0',
'BUILD' => '5294323',
'L_ERRORCODE0' => '11586',
'L_SHORTMESSAGE0' => 'DPRP is disabled.',
'L_LONGMESSAGE0' => 'DPRP is disabled for this merchant.',
'L_SEVERITYCODE0' => 'Error',
'__error' => 'Error #11586. DPRP is disabled. DPRP is disabled for this merchant.',
)
And the pro form the generete that is
[s2Member-Pro-PayPal-Form level="2" ccaps="" desc="7 Days free / then $1 USD / One Time (for 1 month access, non-recurring)" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="roofshingles.skyviewestimator.com" ta="0" tp="7" tt="D" ra="1" rp="1" rt="M" rr="0" rrt="" rra="2" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]
|
|
Hi guys, need some advice of how to achive the following
Have setup a subscription wich is 7 day free trial and then charge “x” amout for 1 moth subscription, up to here everything is nice and smooth, what i need to do is, setup a mail wich will be send 2 days before the trial EOT ( the 5th day after subscribing ), so the user have the option to cancell the subscription before been charge, if they want to.
So im been trying for some time to setup EOT remainder for a while now following steps in this post, no luck yet,
So any suggestion of how to make this work .. thanks one more time for the help
|
|
|
|
Thks so.. much Cristian worked beautifully
|
|
thks Raam once again for the help, i did the changes my code to add the correct filters, just to be clear, with
ws_plugin__s2member_registration_notification_email_sbj and ws_plugin__s2member_registration_notification_email_msg i would be able to change the default New User Email Message thereby i can add conditional for sending emial depending of the user membership LEVEL ,
Current message:
Hi USER,
Thank you for purchasing .
Here is your Username and Password:
Username: xxx
Password: xxx
Once logged in, you can change your password anytime on your own.
You can login to your account at http://www.xxxxx.com
Enjoy
I ended up with the fallowing code in my s2-hacks.php file
add_filter ("ws_plugin__s2member_registration_notification_email_sbj", "my_s2_signup_sbj", 10, 2);
function my_s2_signup_sbj ($s2member_default_sbj, $vars = array ()){
print_r($vars);
file_put_contents(WP_CONTENT_DIR."/debug.log", var_export($vars, true));
return "Congratulations 2 ( your account has been approved )";
}
// add_filter ("ws_plugin__s2member_signup_email_msg", "my_s2_signup_msg", 10, 2);
add_filter ("ws_plugin__s2member_registration_notification_email_msg", "my_s2_signup_msg", 10, 2);
function my_s2_signup_msg ($s2member_default_msg, $vars = array ()){
print_r($vars);
return "Thank you! 2 You purchased:";
}
still not working, i did several test and no luck yet i was trying to get more info about the $s2member_default_msg and $s2member_default_sbj not quite sure if these are the parameters the are giving me the problem, perhaps can point me in the right direction, thanks for the help
|
|
Yes i do get the Default confirmation email
Hi USER,
Thank you for purchasing .
Here is your Username and Password:
Username: xxx
Password: xxx
Once logged in, you can change your password anytime on your own.
You can login to your account at http://www.xxxxx.com
Enjoy!
-
This reply was modified 4 years, 2 months ago by
Juan Vanegas.
|
|
Thaks, im was trying to go through the trhead the you mentioned, and as you said with this piece of code
<?php
add_filter ("ws_plugin__s2member_signup_email_sbj", "my_s2_signup_sbj", 10, 2);
function my_s2_signup_sbj ($s2member_default_sbj, $vars = array ())
{
return "Congratulations ( your account has been approved )";
}
add_filter ("ws_plugin__s2member_signup_email_msg", "my_s2_signup_msg", 10, 2);
function my_s2_signup_msg ($s2member_default_msg, $vars = array ())
{
return "Thank you! You purchased:\n"
add_query_arg("action", "register", wp_login_url ());
}
?>
placed at mysite/wp-content/mu-plugins, file name s2-hacks.php
should be able to overwrite the default New User Email Message and after several test no such luck, it still sending the defualt New User Email Message, not quite sure what i’m doing wrong, if i’m missing any piece of code, if its not the right location, btw im runing wordpress 3.4 and s2member Pro Version: 120703 dont know if that makes any kind of difference.
I did tryed adding
file_put_contents(WP_CONTENT_DIR."/debug.log", var_export($vars, true));
in the code
add_filter ("ws_plugin__s2member_signup_email_sbj", "my_s2_signup_sbj", 10, 2);
function my_s2_signup_sbj ($s2member_default_sbj, $vars = array ()){
print_r($vars);
file_put_contents(WP_CONTENT_DIR."/debug.log", var_export($vars, true));
return "Congratulations 2 ( your account has been approved )";
}
so i ca get the log file to get the vars inside the array becouse im not quite sure where to see the print_r($vars) in the browser, but the log its not been created at all
so im not sure what im doing wrong here, and where to go from here, hopefully you can help me out with this i really appreciate
|