Community Support Forums — WordPress® ( Users Helping Users ) — 2011-12-01T01:46:34-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15636 2011-12-01T01:46:34-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=54288#p54288 <![CDATA[Re: Drip content for different pricing options]]>
I'm very glad you solved it. :)

Statistics: Posted by Cristián Lávaque — December 1st, 2011, 1:46 am


]]>
2011-11-29T11:09:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=54199#p54199 <![CDATA[Re: Drip content for different pricing options]]>

Statistics: Posted by drawingsecretsrevealed — November 29th, 2011, 11:09 am


]]>
2011-11-29T01:15:50-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=54158#p54158 <![CDATA[Re: Drip content for different pricing options]]>
Image

The post I linked to has a test you can run to check if they're working in your server.

Statistics: Posted by Cristián Lávaque — November 29th, 2011, 1:15 am


]]>
2011-11-28T12:21:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=54083#p54083 <![CDATA[Re: Drip content for different pricing options]]>
Cristián Lávaque wrote:
Did you follow the instructions in the error regarding cURL and allow_url_fopen? I'm not sure what thread it's linking to, but this one is realted to cURL and allow_url_fopen: viewtopic.php?f=36&t=2636#p7577


I'm afraid I have no idea what you meant there. None of that is familiar. What does that mean??

Statistics: Posted by drawingsecretsrevealed — November 28th, 2011, 12:21 pm


]]>
2011-11-25T03:05:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53857#p53857 <![CDATA[Re: Drip content for different pricing options]]> viewtopic.php?f=36&t=2636#p7577

Statistics: Posted by Cristián Lávaque — November 25th, 2011, 3:05 am


]]>
2011-11-21T11:26:42-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53636#p53636 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — November 21st, 2011, 11:26 am


]]>
2011-11-20T22:36:35-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53553#p53553 <![CDATA[Re: Drip content for different pricing options]]> error you showed earlier or a different one?

Statistics: Posted by Cristián Lávaque — November 20th, 2011, 10:36 pm


]]>
2011-11-17T11:29:58-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53320#p53320 <![CDATA[Re: Drip content for different pricing options]]>

PHP v5.2.17 :: WordPress® v3.2.1 :: s2Member® v111105
Memory 28.73 MB :: Real Memory 30.00 MB :: Peak Memory 29.20 MB :: Real Peak Memory 30.00 MB
XXX.com/?s2member_paypal_notify=1
User-Agent:
array (
'txn_type' => 'subscr_eot',
'subscr_id' => 'I-147N0RK9LGRD',
'last_name' => 'XXX',
'option_selection1' => '1',
'option_selection2' => '---.--.---.---',
'residence_country' => 'US',
'item_name' => 'Bronze Member / 1 cent for 1 day access',
'mc_currency' => 'USD',
'business' => 'XXX@XXX.com',
'verify_sign' => 'A19KZgRoW0dLb4lJxEgc4bQBFixcA6SbMSm7Xej2x8uANaE5nJKV4JxK',
'payer_status' => 'verified',
'payer_email' => 'XXX@XXX.com',
'first_name' => 'XXX',
'receiver_email' => 'XXX@XXX.com',
'option_name1' => 'Referencing Customer ID',
'payer_id' => 'H6MFMH7AWJD4L',
'invoice' => '4ec53423bacd1~108.11.166.162',
'option_name2' => 'Customer IP Address',
'item_number' => '1',
'custom' => 'XXX.com',
'charset' => 'windows-1252',
'notify_version' => '3.4',
'ipn_track_id' => 'mDdnjYX86DGQ0ARAd1ubtw',
's2member_log' =>
array (
0 => 'IPN received on: Thu Nov 17, 2011 4:20:13 pm UTC',
1 => 's2Member POST vars verified through a POST back to PayPal®.',
2 => 's2Member originating domain ( `$_SERVER["HTTP_HOST"]` ) validated.',
3 => 's2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
4 => 'Sleeping for 5 seconds. Waiting for a possible ( `subscr_signup|subscr_modify|recurring_payment_profile_created` ).',
5 => 'Awake. It\'s Thu Nov 17, 2011 4:20:18 pm UTC. s2Member `txn_type` identified as ( `subscr_eot|recurring_payment_expired|recurring_payment_suspended_due_to_max_failed_payment` ) - or - `recurring_payment_profile_cancel` w/ `initial_payment_status` ( `failed` ).',
6 => 'Skipping this IPN response, for now. The Subscr. ID is not associated with a registered Member.',
7 => 'Re-generating. This IPN will go into a Transient Queue; and be re-processed during registration.',
),
'subscr_gateway' => 'paypal',
'period1' => '0 D',
'period3' => '1 D',
'ip' => '---.--.---.---',

Statistics: Posted by drawingsecretsrevealed — November 17th, 2011, 11:29 am


]]>
2011-11-17T00:04:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53272#p53272 <![CDATA[Re: Drip content for different pricing options]]>
Code:
<?php if (current_user_can('access_s2member_level2') || (current_user_can('access_s2member_level1') && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30)) { ?>
Show the content.
<?php } elseif (current_user_can('access_s2member_level1')) { ?>
Available in <?php echo (30 S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS); ?> days.
<?php } else { ?>
Sell him the access to it.
<?php ?>


About the error, please post the log entries (from all the log files) related to the transaction that gave the error, x'ing out any private info, please. WP Admin -> s2Member -> PayPal Options -> Account Details -> Enable Logging

Statistics: Posted by Cristián Lávaque — November 17th, 2011, 12:04 am


]]>
2011-11-15T17:34:47-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53118#p53118 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — November 15th, 2011, 5:34 pm


]]>
2011-11-15T17:31:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=53117#p53117 <![CDATA[Re: Drip content for different pricing options]]>
Cristián Lávaque wrote:
Great! It's pretty simple to do with conditionals. Something like this:

Code:
<?php if (current_user_can('access_s2member_level2') || (current_user_can('access_s2member_level1') && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30)) { ?>
Show the content.
<?php } else { ?>
Sell him the access to it.
<?php } ?>


I hope that helps. :)


Okay, I have a question about this PHP script. Would this replace the current conditional snippet I have, which I have pasted below? Can I just use the script you gave to give (1) weekly dripped access to Level #1 members and (2) immediate access to all content to Level #2 members?

Current PHP script:

<?php if(S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 7){ ?>
(the day changes for each week's video lesson)

CONTENT

<?php } else { ?>

This lesson will be available for viewing one week after the previous lesson became available, to give you the chance to watch the previous lessons and practice the concepts presented there.

<?php } ?>

Statistics: Posted by drawingsecretsrevealed — November 15th, 2011, 5:31 pm


]]>
2011-11-02T22:42:43-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50854#p50854 <![CDATA[Re: Drip content for different pricing options]]>
drawingsecretsrevealed wrote:
I went there and logging was disabled. I enabled it and found the s2member-logs file. There were two: paypalipn.log and paypalrtn.log. Which one do I post? And there is so much text here - what sort of private info would I be looking for?


I checked the logs you posted. The IPN one was mostly old entries and had some personal info, and the RTN one looked like a file from your Mac OS system. I removed both posts to avoid confusion. :|

Could you please keep logging on, wait for a transaction to give you that error and then post here, only the related entries to the transaction with the error? Thanks! :)

Statistics: Posted by Cristián Lávaque — November 2nd, 2011, 10:42 pm


]]>
2011-11-02T12:53:46-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50805#p50805 <![CDATA[Re: Drip content for different pricing options]]> viewtopic.php?f=36&t=1066

Oh and I know because I registered my website without the www.

Statistics: Posted by Eduan — November 2nd, 2011, 12:53 pm


]]>
2011-11-02T12:50:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50804#p50804 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — November 2nd, 2011, 12:50 pm


]]>
2011-11-02T11:52:48-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50795#p50795 <![CDATA[Re: Drip content for different pricing options]]>
2 => 'Unable to verify _SERVER[HTTP_HOST]. Possibly caused by a fraudulent request. If this error continues, please check the `custom` value in your Form and/or Button Code. It MUST always start with your domain name.',

That may be the cause, check your button and make sure your URL is correct. Mine doesn't have the "http://www.mysite.com/", mine is only "www.mysite.com" without anything else. In other words the custom value should be like this:
custom="www.yoursite.com"

P.S. Take into account that if your site doesn't have www then you don't have to include it.

Statistics: Posted by Eduan — November 2nd, 2011, 11:52 am


]]>
2011-11-02T10:07:56-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50786#p50786 <![CDATA[Re: Drip content for different pricing options]]> @drawingsecretsrevealed
You should put both, paypalipn.log and paypalrtn.log (just in case).

About the private info, x out any email address, PayPal account number, your website address etc. Anything that only you should know, or anything that not everyone should know.

Statistics: Posted by Eduan — November 2nd, 2011, 10:07 am


]]>
2011-11-02T09:52:10-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50784#p50784 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — November 2nd, 2011, 9:52 am


]]>
2011-11-02T01:53:06-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50755#p50755 <![CDATA[Re: Drip content for different pricing options]]>
Could you post the related log entries please? x'ing out any private info. WP Admin -> s2Member -> PayPal Options -> Account Details -> Enable Logging

Statistics: Posted by Cristián Lávaque — November 2nd, 2011, 1:53 am


]]>
2011-11-01T09:59:16-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50684#p50684 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — November 1st, 2011, 9:59 am


]]>
2011-10-31T23:43:24-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50665#p50665 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by Cristián Lávaque — October 31st, 2011, 11:43 pm


]]>
2011-10-31T10:57:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50529#p50529 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — October 31st, 2011, 10:57 am


]]>
2011-10-31T10:23:19-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=50521#p50521 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — October 31st, 2011, 10:23 am


]]>
2011-10-28T20:42:49-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=49119#p49119 <![CDATA[Re: Drip content for different pricing options]]>
Code:
<?php if (current_user_can('access_s2member_level2') || (current_user_can('access_s2member_level1') && S2MEMBER_CURRENT_USER_PAID_REGISTRATION_DAYS >= 30)) { ?>
Show the content.
<?php } else { ?>
Sell him the access to it.
<?php } ?>


I hope that helps. :)

Statistics: Posted by Cristián Lávaque — October 28th, 2011, 8:42 pm


]]>
2011-10-27T11:50:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=48980#p48980 <![CDATA[Re: Drip content for different pricing options]]> Statistics: Posted by drawingsecretsrevealed — October 27th, 2011, 11:50 am


]]>
2011-10-26T23:35:14-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15636&p=48945#p48945 <![CDATA[Re: Drip content for different pricing options]]>
It's odd, though, that you get that error if you already have a working button, unless you did have the custom value different, but you say they're the same.

So, let me see if I understand what you want to do:

- Sell a subscription with monthly payments, that'd drip the content to the user.
- Have a one-time payment option that will give all the content at once.

Is that correct?

Statistics: Posted by Cristián Lávaque — October 26th, 2011, 11:35 pm


]]>