Guest jeromas Posted January 4, 2006 Share Posted January 4, 2006 I'm looking for a way to return the data in between the <LongMessage></LongMessage> tags of the XML response the SOAP API provides when making calls to PayPal for credit card processing. Basically, the information in between the <LongMessage></LongMessage> tags is related to an error in processing a customer's credit card and I'd like to be able to share this information with them about why their order failed rather than the basic message 'Sorry, your order failed!' The information is already written to /pear/tmp/PayPal.log...I'm just wondering what function calls are made to do that. Even if I had to look at the entire XML response for a transaction, I can figure out how to parse that for the information I want. I'm just not sure what class object or variable contains that information. I've already checked the PayPal developer forums and couldn't find any information, and looking through the /pear in my CubeCart installation has been equally fruitless. I think the relevant code would need to be placed in confirmed.inc.php under /includes/content. Anyone know what I mean or can help me out? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.