Folks,
I am making the following call out to the CP API. This is the request string. The errorText is "Track1 data is in invalid format. Track2 data is in invalid format". Can someone look at this and tell me what I am doing wrong here?
x_cpversion=1.0&x_login=XXXX&x_market_type=2&x_device_type=4&x_test_request=true&x_tran_key=YYYY&amount=10&x_track1=B5268350343754525^JOHN/DOE ^1402178450100000343000200000000?&x_track2=5212340078754525=14021014561002000000?"
btw, these are not acutal cc numbers so dont get any ideas ;-)
07-25-2011 12:23 PM
Are you URL encoding the track data prior to building the post string? The response would be expected to come back as invalid if it was submitted exactly as you posted here.
07-27-2011 04:12 PM