Jump to content

I cannot figure this xml2php() thing out...please help!


ballhogjoni

Recommended Posts

Fatal error: Call to undefined function: xml2php() in /home/realfina/public_html/ec/checkout/dcc_process.php on line 73

 

<?php
// Get SOAP for SetExpressCheckoutRequest
$soapData = SOAP_DoDirectPaymentRequest($username, $password, $accountEmail, $entry_page, $CreditCardType, $CreditCardNumber, $ExpMonth, $ExpYear, $CVV2, $ip, $tax_who, $tax_state);
$response = SendSoapToPayPal($url, $sslcertpath, $soapData);
/* problem line*/ $arr_vals = xml2php($response);
// TEST XML OUTPUT
//echo "<html><head><title>test</title></head><body>environment=" .$url . "<br>cert=" .$sslcertpath . "<br>");
//echo ("paypalResponse=" .$response . "<br>array=" .$arr_vals . "<br>");
//echo ("soap=" .$soapData . "<br></body></html>");
//exit;
?>

 

Also, I am "require_once" some other files.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.