Hi, I need some help with sending and receiving xml data to Buckroo payment gateway.
Basically I need to send over some transaction data to Buckaroo for them to process. After sending the xml data to their servers, I'm suppose to receive a response back immediately, which I did not get.
However I checked with them and confirmed that they received the transaction successfully. But I still did not get any response back. They tested it on their servers and said that everything was fine and they did get a response after sending. Te thing is their using asp to test it out and I'm out of luck in getting the test script that they used as I'm doing it in php.
The sample code is below. II'm suppose to receive a response back. The ResponseURL in the xml data is to receive back status of transaction after they run a batch job later on. So it has nothing to do with the immediate response that I'm suppose to get.
could someone help me. I'm at my wits end here.
<PayMessage Channel="batch" VersionID="1.0">
<Control Language="EN" Test="TRUE">
<Description>Test monthly recurring payment</Description>
$port = 443;
$ch = curl_init();
$headers = array(
"Content-Type: text/xml; charset=utf-8",
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FALSE);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_POST, TRUE);
curl_setopt($ch, CURLOPT_TIMEOUT, 4);
curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);