I've got a quick call out for help if anybody is willing. My company just started using a new credit card processing gateway. The response I receive upon sending the transaction comes back to me in a wannabe XML format but it isn't valid XML, so I can't use something like XML::Simple to parse it.
This is an example of what the response looks like:
Any ideas on what the easiest way to parse this would be? I would like to have it just stored in a hash (status=>G) or something simple like that.<status>G</status><auth_code>TT1506</auth_code><security_result>M</sec +urity_result><order_number>0006-00310-38259</order_number>
Chad
In reply to Text Parsing by spaceout
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |