Forum Moderators: coopster
On success:
<success>
<transaction>39811</transaction>
</success>
On failure:
<failure>
<error>
<code>10</code>
<message>Payment Failed</message>
</error>
</failure>
I can use parse the “39811” or “10” and “Payment Failed” by loading them into array and the value of the array
$variable[0] = 10;
$variable[1] = Payment Failed;
but how can I see or parse <failure> or </success>? I need whats between the tags as the processor does not always send the code and message. Any ideas are welcome
thank you
M
Baring that, do a search on your favoritie SE using the processors name and the keywords PHP XML.
Or you can start at the very beginning with these [google.com].