Header HTTP code is 302 redirecting to success URL, this also redirects to success URL when credit card expiry date is less than current date (expired card), i think this should redirect to error url?
i have implemented CC validation method and it works, i wanna know when will IS redirects to error URL?
your http code, 302, is your side, not IS’s side. IS doesn’t send that code. Your server is telling you it doesn’t have enough information to know what to do,…essentially
My first suspicion would be your date. it must follow one of two formats. I use temporal, ie 20170101T00:00:10
You really need to just hard code an example and take all the variables out of the picture. Lookup a valid contact id and call the method:
$app->blankOrder(1234, ‘test order title’, ‘20170101T00:00:00’,0,0); where 1234 would be a contact id that is valid in the app you are using. We can’t test all your code for you. You need to echo values to the screen and start at a place that’s simple instead of plugging in all the variables hoping everything collectively is right… get a hard coded, no variables use example working first and then build on that.