I need to convert plain text output from my payment gateway into useable variables that I can save in my database can anyone please help. Below is an example of the output I get from my gateway.
AuthNo=AVSSALE:TEST:::163034192:N::U
historyid=163034192
orderid=123231541
recurid=0
refcode=163034192-TEST
result=1
Status=Accepted
transid=0
USERPROFILEID=6235976
Plaintext output
Moderators: Website/Forum Admins, Other/Off Topic Moderators
Re: Plaintext output
[moved to Off Topic]
you didn't say what language you need to do this in. assuming PHP, a simple solution might be to use parse_ini_string()
you didn't say what language you need to do this in. assuming PHP, a simple solution might be to use parse_ini_string()
In God we trust,
Everyone else must have an X.509 certificate.
Everyone else must have an X.509 certificate.
Who is online
Users browsing this forum: No registered users and 6 guests