latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

About: Some Dude

Sorry, I've not written a description yet. I'll get to it soon!


My Latest Replies (From Various Topics)

Viewing 13 replies - 1 through 13 (of 13 total)
Author Replies
Author Replies
Posted: Wednesday Feb 13th, 2013 at 11:50 pm #41648
Some Dude
Username: amilgrom

Oops, nevermind. It turns out I inserted my public key instead of my private key.

I guess I’ve been looking at this screen for too long!

Posted: Monday Jan 14th, 2013 at 5:57 pm #37538
Some Dude
Username: amilgrom

Hi Jason,

Thanks for taking the time to get back to me on this.

Unfortunately having the member cancel and subscribe again doesn’t work very well because CCBill will only allow one subscription per site. So they would have to wait until their subscription expires.

I’m pretty sure I can build this HTML form with a few PHP variables. It doesn’t look like it should be too difficult, but you never know with CCBill.

Can you please let me know what fields S2Member would require for the post back to properly update their member level? For example if someone is upgrading from level 1 to level 2, would it be something like this below?

<input type=”hidden” name=”s2_invoice” value=”2”>
<input type=”hidden” name=”s2_referencing” value="'.$clientaccount.'">
Posted: Saturday Jan 12th, 2013 at 11:09 am #37133
Some Dude
Username: amilgrom

I did have another question about creating a subscription upgrade button.

I posted a new thread about it a few days ago. Hopefully you can help with this one too.

Thanks again!

Posted: Friday Jan 11th, 2013 at 5:47 pm #37043
Some Dude
Username: amilgrom

The purchasing is done through ccBill, but I would presume it work just fine with PayPal as well.

Posted: Friday Jan 11th, 2013 at 5:45 pm #37042
Some Dude
Username: amilgrom

Hi Eduan,

I already checked that out, but with ccBill it only seems to allow for Cancellations.

According to ccBill the upgrade functionality works differently. It requires variables to be passed to their form that identifies the specifications of the upgrade. Apparently they need to review it as well first before they will enable this feature for the account.

Posted: Friday Jan 11th, 2013 at 10:50 am #37012
Some Dude
Username: amilgrom

It sure can. I’m doing almost exactly that except its with videos.

I have a membership option where users can watch streaming videos. Then they have the option of downloading the video for a discounted rate.

I have another membership option that is cheaper and doesn’t allow users to watch the streaming videos, but still offers the downloads at a discounted rate.

And then for users who are not members; they can pay regular price to download the videos.

Posted: Friday Jan 11th, 2013 at 8:14 am #36971
Some Dude
Username: amilgrom

I also had an issue with EOT behavior.

The way I was able to fix it was by running wp-cron as a real cron job and set it to run every 15 minutes. I also stopped it from firing every time a page was loaded. This also made the site a little faster and made scheduled posts more reliable as well.

Of course you’ll need to make sure that in PayPal Options > Automatic EOT Behavior you have Enable s2Member’s Auto-EOT System set to Yes (enable the Auto-EOT System through WP-Cron.

I’m not sure if this will fix your issue, but thought it would be worth mentioning.

Posted: Wednesday Jan 9th, 2013 at 12:20 pm #36791
Some Dude
Username: amilgrom

Thank you so much! I can’t beleive it’s just that simple!

I’ve been reading so much documentation trying to generate my own button using PHP, and it turns out you guys already thought well ahead here. Excuse me while I go kick myself…

Posted: Tuesday Jan 8th, 2013 at 7:53 am #36567
Some Dude
Username: amilgrom

Hi Christian,

Thanks for looking into this for me.

Just so you know I’m generating this buy now link dynamically in the template. So I suspect the solution is just a php generated link (I don’t need to rely on shortcodes).

I’ve been reading the documentation at ccbill: http://www.ccbill.com/cs/manuals/CCBill_Dynamic_Pricing.pdf

So I think the solution will be something like this:

<?php
$clientAccnum = "######";
$clientSubacc = "0001";
$formName = "###cc";
$formPrice = "##.##";
...
?>

<?php
echo '<a href="https://bill.ccbill.com/jpost/signup.cgi?clientAccnum='.$clientAccnum.'&clientSubacc='.$clientSubacc.'&formName='.$formName.'&formPrice='.$formPrice.'...">Buy Now</a>';
?>

I’m sure there are more variables needed and I’m not quite sure how to generate the MD5 hash for the formDigest as referred to in the ccBill documentation but I suspect it has something to do with the TripleDES key.

Hopefully you and/or Jason will be able to help me fill in the blanks.

Thank you!

  • This reply was modified 4 years ago by  Some Dude.
Posted: Monday Jan 7th, 2013 at 2:30 pm #36477
Some Dude
Username: amilgrom

Hi Lee, thanks for helping out on this.

What you described is exactly what I had thought would happen. But on the first few cancellations I had, the users weren’t being removed.

For some reason things seem to be working now and I haven’t changed anything so I’m just going to keep my fingers crossed and keep an eye on cancelled user accounts for now.

Posted: Sunday Dec 23rd, 2012 at 4:14 pm #35446
Some Dude
Username: amilgrom

One other thing I should probably mention is that I don’t seem to have any ability to control how often the Auto-EOT system runs. I’ve tried having it run through WP-Cron, which I have set to run every 15 minutes. I also tried running it as it’s own cron job every 15 minutes.

No matter what I do it seems to just run every 24 hours at 2:35:01 pm UTC according to what I see in the log file.

Posted: Wednesday Oct 31st, 2012 at 9:56 pm #30294
Some Dude
Username: amilgrom

I took your advice and setup an account with Amazon and reconfigured my template to use the RTMP stream and it works great! My only issue it that I would like to be able to serve both SD and HD versions of my video. I know that JW player supports bitrate switching when using RTMP, but I don’t know how to setup that up to work with the code provided.

I read some info at the JW website here. Can you please let me know if or how this will work with the S2member provided code?

Posted: Thursday Oct 25th, 2012 at 2:42 pm #29682
Some Dude
Username: amilgrom

I tried typing the link to the video file directly into my browser and SD video plays, but doesn’t pseudostream, the HD file didn’t play at all… but as soon as I deleted the .htaccess file and refreshed those links, both files played and pseudostreamed perfectly.

I suspect that there may be some rewrite rules getting in the way. Is there a way I can delete part of the htaccess file so that it only protects the content from unauthenticated users and doesn’t provide any of it’s other features.

Viewing 13 replies - 1 through 13 (of 13 total)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.