Page 1 of 1

Update Membership PayPal Pro Modification Forms Not Working

PostPosted: November 1st, 2011, 2:10 pm
by ryanseo
Hello,

When I try to use the paypal pro modification forms within my website, upon clicking the PayPal button to update the profile it returns me back to the page with this error 'Error. Please contact Support for assistance.' .

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 2:18 pm
by Eduan
Check this video and tell me if that helps:
http://www.s2member.com/paypal-modifica ... ons-video/

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 3:23 pm
by ryanseo
Thank you for the link to the great video, it was VERY informative and gave me a slew of ideas and most importantly an understand of how PayPal interacts with s2member in modification/cancellation situations, however unfortunately after setting everything up properly it still tells me 'Error. Please contact Support for assistance.' - It happens while trying to register a new account (using paypal pro forms) and modification billing upgrades forms (paypal pro).

Thanks again for the wonderful link but it didnt seem to help the situation im having :cry:

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 3:28 pm
by ryanseo
In the output of s2member-logs/paypal-api.log is:

-------- Output string/vars: ( Tue Nov 1, 2011 8:26:33 pm UTC ) --------

array (
'__error' => 'Error. Please contact Support for assistance.',
)

Thanks

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 3:39 pm
by Eduan
Just a question, are you using modification buttons to create new users?

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 4:20 pm
by ryanseo
No, I mentioned the user regsitration because I'm also trying to figure out why it's not working on the PayPal Pro Registration Forms as well. As I get this issue when trying to pull contents via SSL:

I went through and made a test template page for SSL testing and I may have found the culprit for the error: Errors when trying to pull from urls with https://...

Notice: file_get_contents() [function.file-get-contents]: Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /home/managed/public_html/test/wp-content/themes/cityguide/template-ssltest.php on line 11

I'm thinking it has something to do with SSL interaction with PayPal Pro itself, almost as if I'm not even connecting to PayPal at all when making these transactions because openssl isn't enabled.

I'm going to run some more tests , enable SSL , cURL as well and get back with what I come up with!

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 1st, 2011, 4:42 pm
by ryanseo
Ok,after running:

$w = stream_get_wrappers();
echo 'openssl: ', extension_loaded ('openssl') ? 'yes':'no', "\n";
echo 'http wrapper: ', in_array('http', $w) ? 'yes':'no', "\n";
echo 'https wrapper: ', in_array('https', $w) ? 'yes':'no', "\n";
echo 'wrappers: ', var_dump($w);

output for above code:

openssl: no
http wrapper: yes
https wrapper: no
I was able to figure out that my OpenSSL isn't on and my HTTPS Wrapper isn't on

** Edit: I've tried enabling php_openssl and curl in php.ini and restarted Apache HTTP Server and didnt fix the issue, is there something else I need to do? Thanks

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 2nd, 2011, 7:50 am
by ryanseo
Anyone able to troubleshoot this? This is kind of the last step before I launch this and not sure how to move past this issue. When I submit any pro form , registration form, modification form, anything that involves dealing with https:// it simply won't let me and returns an error saying "Please contact support to resolve this issue'.... I've tried enabling open_ssl and curl within my php.ini and restarted my Apache server but it still shows the same outputs for the above code which is no on openssl and the https wrapper. Is there something I'm missing in getting that stuff activated for this to work? Thanks

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 2nd, 2011, 8:50 am
by ryanseo
I've contacted my Server administrators to see if they can fix the issue on their end but if anyone knows of a quick solution off the top of their head that would be great... I'll let you know with what they do and how they accomplished it (if they are able to, lol) and post it here so people can fix if they run into a similar issue..

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 2nd, 2011, 1:34 pm
by ryanseo
I ended up figuring this out and rebuilt my Apache compiling SSL support for PHP (was enabled and operating on server but not for PHP calls). This fixed it. I used EasyApache to rebuild within WebHostManager.

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 2nd, 2011, 1:39 pm
by Eduan
Okay!
Sorry I didn't post to your last posts, I didn't know what to tell you.

Re: Update Membership PayPal Pro Modification Forms Not Work

PostPosted: November 2nd, 2011, 11:31 pm
by Cristián Lávaque
Well done Ryan! And thanks for reporting back. :)