Re: Error on POST
Posted: August 5th, 2010, 12:34 pm
Hi Luna. I just logged in and took another look.
I ran another test transaction, and I WAS able to reproduce the error again.
However, my WinSCP/SFTP access is no longer available it seems?
Anyway... here are some things I would have a look at now:
1. Is your PayPal PDT Identity Token entered correctly?
If it is, then please upload these three files anywhere on your site.
~ All three files are inside of this zip distribution.
curl-test-http-google.php ( open in a browser, you should see Google's home page ).
curl-test-https-paypal.php ( open in a browser, you should see PayPal.com )
fopen-test-https-paypal.php ( open in a browser, you should see PayPal.com )
If one of the cURL tests fail, but the fopen test succeeds, I recommend this solution.
I ran another test transaction, and I WAS able to reproduce the error again.
However, my WinSCP/SFTP access is no longer available it seems?
Anyway... here are some things I would have a look at now:
1. Is your PayPal PDT Identity Token entered correctly?
If it is, then please upload these three files anywhere on your site.
~ All three files are inside of this zip distribution.
curl-test-http-google.php ( open in a browser, you should see Google's home page ).
curl-test-https-paypal.php ( open in a browser, you should see PayPal.com )
fopen-test-https-paypal.php ( open in a browser, you should see PayPal.com )
If one of the cURL tests fail, but the fopen test succeeds, I recommend this solution.
- Code: Select all
Create a new PHP file, and name it:
s2member-hacks.php
Place these lines inside it:
<?php
add_filter("use_curl_transport", "disable_curl");
function disable_curl($use_curl_transport){ return false; }
?>
Save that file in this location:
/plugins/s2member/includes/functions/s2member-hacks.php