Hey guys,
Sorry there might be an easy solution to this but I have been coding all day and can't come up with anything very elegant.
I am passing some data to my CC processor and they give me some key value pairs in return but not in an array...just plain text.
the returned variable looks like this:
ssl_result=1
ssl_result_message=The transaction request was unable to be completed: DECLINED CVV2
Of course on approved transactions and for other errors the keys can be different and there will be more than two.
I basically want to use this to create an array where we have:
( ["ssl_result"] => 1, ["ssl_result_message"] => ssl_result_message)
Hope that makes sense!
bink