SurePay and sending XML
Posted: Mon Feb 10, 2003 9:31 am
Has anyone used SurePay and successfully made it work in PHP? The SDKs are for PERL or ASP, not PHP.
I can easily create the proper XML document, but my problem lies in sending the bloody thing. I feel like an idiot, but I cannot figure out how to send the document. ASP uses "XMLhttpObject.send" and PERL uses "NET::SSLeay::post_https". I know what they do, but I do not know the equivalent PHP function. Any ideas?
EDIT::
Just was tossed a reference by one of my local PHP friends. It seems that I need to use the Curl functions to properly send stuff to SurePay.
Excuse me while I go beg/beat my Server Manager to get the library installed.
I can easily create the proper XML document, but my problem lies in sending the bloody thing. I feel like an idiot, but I cannot figure out how to send the document. ASP uses "XMLhttpObject.send" and PERL uses "NET::SSLeay::post_https". I know what they do, but I do not know the equivalent PHP function. Any ideas?
EDIT::
Just was tossed a reference by one of my local PHP friends. It seems that I need to use the Curl functions to properly send stuff to SurePay.
Excuse me while I go beg/beat my Server Manager to get the library installed.