Hey guys. I'm trying to program CC processing for my website and am having some trouble figuring out the best way to do this one part. If anyone can give me some code for this... I'll paypal 20 bucks or so (If this isn't allowed... nm!)
Basically, I get a response from the cc processor server as one variable. Something like this:
"YAUTH/TKT 140397","AVS Match 5 Digit Zip and Address ","","11","20070425131843-1206183-11","RecurID=15"
I need that string broken up so I can manipulate the different vars. And within the first var I need it broken up even more. I'll just show you what I need the outcome to be....
var1 = Y
var2 = AUTH/TKT 140397
var3 = AVS Match 5 Digit Zip and Address
var4 =
var5 = 11
var6 = 20070425131843-1206183-11
var7 = 15 (Notice "RecurID =" is left out!)
Any takers?
Basically, I get a response from the cc processor server as one variable. Something like this:
"YAUTH/TKT 140397","AVS Match 5 Digit Zip and Address ","","11","20070425131843-1206183-11","RecurID=15"
I need that string broken up so I can manipulate the different vars. And within the first var I need it broken up even more. I'll just show you what I need the outcome to be....
var1 = Y
var2 = AUTH/TKT 140397
var3 = AVS Match 5 Digit Zip and Address
var4 =
var5 = 11
var6 = 20070425131843-1206183-11
var7 = 15 (Notice "RecurID =" is left out!)
Any takers?