Help!! XML-RPC Issues. |
[eluser]Unknown[/eluser]
I am trying to code for PayPoint's (formally SecPay) API within CodeIgniter. I am following along their sample code here: http://www.paypoint.net/support/gateway/...mlrpc-php/ Here is what I have so far. controllers/paypoint.php Code: <?php But the output is always: 'No data received from server.' Am I doing something wrong?
[eluser]WebMada[/eluser]
Good question! I don't have the response but I wonder if the xmlrpc library supports https (SSL) communication?
[eluser]skunkbad[/eluser]
XML-RPC doesn't work with SSL. You'll have to create your own library and use cURL. I tried to extend the XML-RPC class to use cURL and SSL, but I didn't get it working 100%, and just made my own solution because XML-RPC usage wasn't ideal for my situation anyways. PS. As far as I'm concerned, this is a bug, because of the high likelihood of needing to use SSL for XML-RPC. I wish the CI team would consider this, but I don't have any more votes left.
[eluser]WebMada[/eluser]
[quote author="skunkbad" date="1311210879"] PS. As far as I'm concerned, this is a bug, because of the high likelihood of needing to use SSL for XML-RPC. I wish the CI team would consider this, but I don't have any more votes left.[/quote] I hope so!
[eluser]yabdab[/eluser]
I too am running into this issue with SSL . Has hacked a way around this? Seems the xmlrpc has not been touched since 1.0.0
[eluser]skunkbad[/eluser]
[quote author="yabdab" date="1349375362"]I too am running into this issue with SSL . Has hacked a way around this? Seems the xmlrpc has not been touched since 1.0.0[/quote] This was working: https://github.com/skunkbad/MY_Xmlrpc I don't know if it needs an update. I don't use it anymore.
|
Welcome Guest, Not a member yet? Register Sign In |