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: Jeremy Pigg

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


Topics I'm Subscribed To

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Visa or Mastercard Payments now working

By:  Jeremy Pigg in: Community Forum

voices: 3
replies: 14

4 years ago  Bruce

Download links 1 2

By:  Jeremy Pigg in: Community Forum

voices: 5
replies: 29

4 years, 2 months ago  Jason (Lead Developer)

Buy now post access

By:  Jeremy Pigg in: Community Forum

voices: 3
replies: 3

4 years, 3 months ago  Raam Dev

MP4 Downloads

By:  Jeremy Pigg in: Community Forum

voices: 1
replies: 0

4 years, 4 months ago  Jeremy Pigg

Viewing 4 topics - 1 through 4 (of 4 total)

Topics I've Started

Viewing 4 topics - 1 through 4 (of 4 total)
Topic Count Last Reply
Visa or Mastercard Payments now working

By:  Jeremy Pigg in: Community Forum

voices: 3
replies: 14

4 years ago  Bruce

Download links 1 2

By:  Jeremy Pigg in: Community Forum

voices: 5
replies: 29

4 years, 2 months ago  Jason (Lead Developer)

Buy now post access

By:  Jeremy Pigg in: Community Forum

voices: 3
replies: 3

4 years, 3 months ago  Raam Dev

MP4 Downloads

By:  Jeremy Pigg in: Community Forum

voices: 1
replies: 0

4 years, 4 months ago  Jeremy Pigg

Viewing 4 topics - 1 through 4 (of 4 total)

My Latest Replies (From Various Topics)

Viewing 24 replies - 1 through 24 (of 24 total)
Author Replies
Author Replies
Posted: Friday Dec 21st, 2012 at 9:13 pm #35296

Another update … I have just been told that none of the payments are working. Here is the actual email I received:

Jeremy, 

I just tested our membership issues both ways, as a new client: via my personal paypal account and with my credit card

Paying with my personal Paypal account: it is not working anymore. No payment appears in our cherrybomb paypal account. As a client, I didn’t receive any password and no userlevel1 was created. Nothing is working anymore.

With my Mastercard. 2 things are working: a userlevel1 was created, the $19.99 appears in our paypal account.
However, no password received and no recurring charges created.

Posted: Friday Dec 21st, 2012 at 9:27 am #35244

They do have Payflowpro and DPRP. I have both PayPal API and PayPal Flow API configured.

Posted: Thursday Dec 20th, 2012 at 2:19 am #35123

Ok, now they say they must continue to accept credit cards. I have forced ssl on every page that there is a checkout on, including the members option page, but when someone signs up for recurring monthly payments and pays with a credit card they are never signed up for the recurring payments. They have called PayPal a few times now and believe everything is correct on their end. Any ideas?

Thanks

Posted: Tuesday Dec 11th, 2012 at 10:52 am #34264

Ok thanks, they were using the WordPress HTTPS plugin to secure those pages, and when I tried to tell them they needed to start using the custom field, they decided to quit taking credit cards altogether and just stick w/PayPal. I told them they would have to regenerate all of the previous shortcodes they have used, that is correct right?

Posted: Monday Dec 10th, 2012 at 6:34 pm #34186

Got ya, will that need to be added to every page that has downloadable content for sale, or if I add it to one it will be default on the rest?

Thx

Posted: Sunday Dec 9th, 2012 at 1:57 am #34037

Ha… I just realized my posts says, “Visa or Mastercard Payments now working”, obviously I meant “not” working.

I relayed the message about the Paypal setting, also how could you tell the s2-ssl=yes option wasn’t turned on? It is going to a secure page. Nonetheless I’ll give it a shot.

Thanks!

Posted: Monday Dec 3rd, 2012 at 3:43 pm #33360

I believe it was mentioned on both of these:
http://www.s2member.com/forums/topic/buy-now-post-access/
http://www.s2member.com/forums/topic/download-links/

A shortcode example is:

[s2Member-Pro-PayPal-Form sp="1" ids="3406" exp="8760" desc="Christie vs Diane Von Hoffman Video Purchase" ps="paypal" lc="" cc="USD" dg="0" ns="1" custom="cherrybombwrestling.com" ra="12.00" accept="paypal,visa,mastercard,amex,discover,maestro,solo" accept_via_paypal="paypal" coupon="" accept_coupons="0" default_country_code="" captcha="0" /]

And that is the shortcode for URL:https://cherrybombwrestling.com/christie-diane-von-hoffman-video-purchase/

Also one customer said they received a message, “DPRP is disabled “

  • This reply was modified 4 years, 1 month ago by  Jeremy Pigg.
Posted: Thursday Oct 4th, 2012 at 10:41 am #27447

Finally… I got it figured out. I changed my bucket policy using the Amazon S3 policy generator that can be found here:

http://awspolicygen.s3.amazonaws.com/policygen.html

Here are the options I used:

Effect: allow
Principal: *
AWS Service: Amazon S3
Action: GetObject
Amazon Resouce Name (ARN): “arn:aws:s3:::my_bucket_name/*“
Add Statement
Generate Policy
Copy policy to clipboard
From S3: edit bucket policy and paste in new policy

Now if I could get the SSL working I could be done with that site forever, but I know that has nothing to do with you guys, actually neither did this, so I truly appreciate the help.

Thanks!

Posted: Thursday Oct 4th, 2012 at 2:32 am #27393

I’m not a PHP pro by all means, is there a simple way to force a download w/a PHP string? Maybe that will help

Posted: Wednesday Oct 3rd, 2012 at 8:49 am #27332

I know right, I called Godaddy about it and they said I needed to do redirects, he didn’t understand the redirects were going to redirect if I did, I just don’t have much more time to spend on this project. Please let me know if you find out something about the download links.
Thanks

Posted: Tuesday Oct 2nd, 2012 at 8:05 pm #27280

I’ve got another off topic question, the site owner is wanting to do away with credit card transactions and just use paypal because we can’t get her SSL to work on the posts selling the videos. She has an SSL cert installed, and we installed the WordPress HTTPS plugin, but when we check “secure post” it doesn’t secure it, therefore none of the credit card transactions are working properly like you mentioned above.
Is there a way to turn off credit cards and keep the code we have already generated for the previous posts, or do you know the secret to make SSL work on wordpress?

Posted: Tuesday Oct 2nd, 2012 at 6:15 pm #27275

If I right click and open in a new tab, which of course would be the same as just clicking on it, the browser tries to load http://cherrybombwrestling.com/?s2member_file_download=/Leilani_Kai_vs_Taeler_Hendrix.mp4, but is redirected to

http://d21c73yl3bucq3.cloudfront.net/Leilani_Kai_vs_Taeler_Hendrix.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2QyMWM3M3lsM2J1Y3EzLmNsb3VkZnJvbnQubmV0L0xlaWxhbmlfS2FpX3ZzX1RhZWxlcl9IZW5kcml4Lm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMTA4LjcwLjEyMi4yMDkvMzIifSwiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjEzNDkzMDI0MjB9fX1dfQ__&Signature=DKR0F0kWuLPSffEymTktu04XguUKY60i-4d0ldnMs7qugVYkEqBs3RcWbLDGVo7w6Hx2qqY8KwK0NVPGxRLFcAptqpXDTwUQO0gg6Fmm4UqC3fo8FnVVcx1baulhvktq5K9mpKuAMsxi~z-4cuv-Ms~YQiZhuh8TJ4xGx6RJEmc_&Key-Pair-Id=APKAIR7XZJCDEEHIK6UQ”

And then I get the

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
Code AccessDenied Code
<Message>Access Denied</Message>
<RequestId>8DF3B5C61BC35D18</RequestId>
<HostId>
WAk3yibE6wLo3AvIvWJ+ZTVrBxV52VpkycSxpN3ilRQBYguQtnxwF7nS0eIpO2mY
</HostId>
</Error>
Posted: Tuesday Oct 2nd, 2012 at 6:13 pm #27274

If I right click, save as, the file it tries to save is Leilani_Kai_vs_Taeler_Hendrix.xml. If I right click and copy link address I get http://cherrybombwrestling.com/?s2member_file_download=/Leilani_Kai_vs_Taeler_Hendrix.mp4 copied to my clipboard. I’m don’t even see how that is possible.

Posted: Tuesday Oct 2nd, 2012 at 5:07 pm #27264

We probably have 10 different videos just like this that is streaming fine, but the download links do not work

<?php
// Configuration.
$s2_jw_config["jwplayer"] = "/jwplayer/"; // Relative URL path to JW Player files directory.
$s2_jw_config["mp4_video_file_name"] = "Leilani_Kai_vs_Taeler_Hendrix.mp4"; // Name of your MP4 test file.
// Don't edit anything else below unless you know what you're doing.
?>

<div id="jw-container">JW Player® appears here.</div>
<script type="text/javascript" src="<?php echo $s2_jw_config["jwplayer"]; ?>jwplayer.js"></script>

<?php /* A direct URL to the RTMP source; counting the file against the current User in real-time. */
$cfg = array ("file_download" => $s2_jw_config["mp4_video_file_name"], "url_to_storage_source" => true, "count_against_user" => true); ?>

<?php /* API Function `s2member_file_download_url()` returns false if access is denied to the current User. */
if (($mp4 = s2member_file_download_url ($cfg, "get-streamer-array"))) { ?>

    <script type="text/javascript">
        jwplayer("jw-container").setup({modes: /* JW Player®. */
        [
            /* First try real-time streaming with Flash® player. */
            {type: "flash", provider: "rtmp", src: "<?php echo $s2_jw_config["jwplayer"]; ?>player.swf",
                config: {streamer: "<?php echo $mp4["streamer"]; ?>", file: "<?php echo $mp4["file"]; ?>"}},
        
            /* Else, try an HTML5 video tag. */
            {type: "html5", provider: "video",
                config: {file: "<?php echo $mp4["url"]; ?>"}},
        
            /* Else, this is a safe fallback. */
            {type: "download", /* Download the file. */
                config: {file: "<?php echo $mp4["url"]; ?>"}}
        ],
        /* Set video dimensions. */ width: 480, height: 270
        });
    </script>

<?php } else /* Access is denied to the current User. */ { ?>
    Sorry, you must become a VIP member to view this video. 
<?php } ?>
<a href="[s2File download="Leilani_Kai_vs_Taeler_Hendrix.mp4" /]">download</a>
Posted: Tuesday Oct 2nd, 2012 at 3:39 pm #27245

Anything?

Posted: Monday Oct 1st, 2012 at 6:36 pm #27147

I even tried a different post that time, my exact string I put in was:

<a href="[s2File download="Leilani_Kai_vs_Taeler_Hendrix.mp4" /]">download</a>

Where Leilani_Kai_vs_Taeler_Hendrix.mp4 is the name of the file in the S3 bucket. Got the same error.

Posted: Monday Oct 1st, 2012 at 6:18 pm #27140

Getting the same thing, it really looks like a permission issue:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
Code AccessDenied Code
<Message>Access Denied</Message>
<RequestId>B808FEE35817CF97</RequestId>
<HostId>
lvhr6BaSAm/Djdg/4MBpp0Rrp8LeBzDL0anC73W5ewatvzHMX+jGK8B2c/OPVBQF
</HostId>
</Error>

I read somewhere that the crossdomain.xml file needs some type of restrictions, have you ever heard of this?

Posted: Monday Oct 1st, 2012 at 6:01 pm #27135

Ok I deleted it, and added the one I posted above, made it public, but when I try to download from a download link I get

This XML file does not appear to have any style information associated with it. The document tree is shown below.

AccessDenied
Access Denied
97707C4D5981E331
<host id>
QuWagjR+XyesqMKkUBICBd2uV2SOt7qVCGeP1kE+3Ws6PSJu8bAOU07xSMxOKI/c
</host id>
 

The streaming works fine, as it always has, it’s just the download links.

And you were right, logging was turned on, I disabled that.

  • This reply was modified 4 years, 3 months ago by  Jeremy Pigg.
  • This reply was modified 4 years, 3 months ago by  Jeremy Pigg.
  • This reply was modified 4 years, 3 months ago by  Jeremy Pigg.
Posted: Monday Oct 1st, 2012 at 5:44 pm #27133

What goes in the xml file? I found this in another post, would this apply to any crossdomain.xml file?

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
  <allow-access-from domain="*" />
</cross-domain-policy>
Posted: Monday Oct 1st, 2012 at 3:12 pm #27118

OK the crossdomain.xml file says it has errors in it when I open it. Another strange thing is there seems to be something writing files to the bucket, they look like 2012-10-01-19-03-44-5592hgsbe… which i am assuming every time a video is accessed it is creating one of these files since they look like date and times. Could the error in the xml file be causing this? If I simply delete the crossdomain.xml will a new one be created error free? I am new to this service, but looks great when it works.

Posted: Monday Oct 1st, 2012 at 1:15 pm #27094

Sorry on that last post, I just realized that the xml had “code” tags in it. It should’ve looked like:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<\Code\>AccessDenied<\/Code\>
<Message>Access Denied</Message>
<RequestId>D792462E5E4F969D</RequestId>
<HostId>
IzSYST0OTiM6xaERRzjrbDipUoWCkGYrtRbaM7gRgCjvWhURbRdtz+4D7bhGp9Vy
</HostId>
</Error>
Posted: Monday Oct 1st, 2012 at 1:12 pm #27092

You were right, the cloudfront was disabled for some unknown reason, I enabled it and waited about 30 minutes, but now when I click on the download link it gives me an access denied xml page:

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
<Code>AccessDenied

Access Denied
D792462E5E4F969D

IzSYST0OTiM6xaERRzjrbDipUoWCkGYrtRbaM7gRgCjvWhURbRdtz+4D7bhGp9Vy

Any idea on why it would be doing this? Also she does have SSL on the site, but probably not enabled on those posts, I can go back and enable that.

Thanks for your help.

Posted: Monday Oct 1st, 2012 at 9:24 am #27071

I get the pop up box that says “–Confirm File Download– you have downloaded x out of unlimited..”, so at this point you think it’s going to work, but instead you are redirected to a server not found page. The URL it is trying to go to is something like

http://d21c73yl3bucq3.cloudfront.net/Tracy_vs._Taeler_Download5.mp4?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cDovL2QyMWM3M3lsM2J1Y3EzLmNsb3VkZnJvbnQubmV0L1RyYWN5X3ZzLl9UYWVsZXJfRG93bmxvYWQ1Lm1wNCIsIkNvbmRpdGlvbiI6eyJJcEFkZHJlc3MiOnsiQVdTOlNvdXJjZUlwIjoiMTY2LjE0Ny4xMjAuMTU2LzMyIn0sIkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxMzQ5MTg0MDk0fX19XX0_&Signature=Otfu6ed4rurwq2Id2kKe8ROK1-itBKSK2MMzWIocQd-y08TVEws1nF0-UuFvzxOBk8HtZddPwTwYSBNJx1y4eRvVgFO06TKkG18QxEImUpqX315b8GNha7yHjGEiBMR3ROr3QvqYaDG~MG3-qr1a4fG5BY98m791rhJESXxAhtY_&Key-Pair-Id=APKAIR7XZJCDEEHIK6UQ

We are getting some pretty hostile customers so I appreciate any help.

Posted: Wednesday Sep 12th, 2012 at 9:19 am #25014

I’m under the impression that the link (to the purchased post) the buyer is sent should work for one year (because I set it to expire in one year) and should also work w/o having to be logged into an account. Are these accurate assumptions?

Yes, that’s correct.

What is stopping that customer from sharing the link to the paid post page if you don’t have to be logged in? At this point I don’t even care if it is sharable, I just want it to work.

The file will be protected at some level or with a custom capability, which a user not logged in won’t have, thus no access to the file.

The above statement contradicts the one below it, does it not? I’m not trying to be difficult here, just trying to understand this so my client will be happy. If the file will be protected at some level or with a custom capability, which a user not logged in won’t have, thus no access to the file, how is my assumption correct when my assumption was the link (to the purchased post) the buyer is sent should work for one year (because I set it to expire in one year) and should also work w/o having to be logged into an account. Are these accurate assumptions?

Google Chrome Incognito mode is like Private mode in Firefox. It will open up a new browser window, keeps chrome from storing information about the websites you’ve visited. So when I open in incognito mode and visit the site I am not logged in.

Viewing 24 replies - 1 through 24 (of 24 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.