Unexpected responses to some Magic Values - opayo

when i set my cardholder to be either NOTENROLLED or TECHNICALDIFFICULTIES the wrong values are returned from Sage Pay V.4.0
As per the documentation, I expected the 3DSecureStatus response to be NOAUTH and INCOMPLETE respectively but i am getting Status = 3DAuth and 3dSecureStatus = OK for NOTENROLLED and OK,OK for TECHNICALDIFFICULTIES.
All other magic values returned expected results.
Is this to do with my 3D Secure settings in Test sagepay? I haven't specifically set any rules, just left all as default
thanks

I think you're looking at an older version of the direct guide.
re: TECHNICALDIFFICULTIES - the value is (now) actually TECHDIFFICULTIES
And the latest version of the guide says that NOTENROLLED will "Fallback to 3DSv1" rather than returning a 3DSecureStatus of NOAUTH which was what the previous version of the guide said.
The latest version of the guide is here.

Top man/woman. that's the answer. Sage have cunningly changed the document but kept the status of Draft with the same date and version number. useful.!
I am hoping there haven't been any other changes to the doc.
If anyone from Sage is following this forum it would be good to have a version history in the documentation to stop anyone else having this type of problem.
Thanks for the tip

Related

Jmeter http simple server(plugin) ADD unique line does not work

http://localhost:9191/sts/ADD?FILENAME=/tmp/newEventsFlag.csv&LINE=7ddb876ac39c485a&ADD_MODE=FIRST&UNIQUE=TRUE
If i run this multiple times and then do a GET http://localhost:9191/sts/LENGTH?FILENAME=/tmp/newEventsFlag.csv
I can see that the body length is equal to the number of posts I made.
So unique parameter does not work I guess or am I missing something here?
If it does not work is it possible to get the source code to fix this?
This is a bug in the simple table server version 2.2.
Should be fix in 2.3

Corenlp server shows different NER result from local 3.8 version

I uses the sentense
He died in the day before yesterday.
to process corenlp NER.
On the server, I got the result like this.
And in local, I uses the same sentence, got the result of
He(O) died(O) in(O) the(O) day(TIME) before(O) yesterday(O) .(O)
So, how can I get the same result like the server?
In order to increase the likelihood of getting a relevant answer, you may want to rephrase your question and provide a bit more information. And as a bonus, in the process of doing so, you may even find out the answer yourself ;)
For example, what url are you using to get your server result? When I check here: http://nlp.stanford.edu:8080/ner/process , I can select multiple models for English. Not sure which version their API is based on (would say the most recent stable version, but I don't know). Then the title of your post suggests you are using 3.8 locally, but it wouldn't hurt to specify the relevant piece in your pom.xml file, or the models you downloaded yourself.
What model are you using in your code? How are you calling it? (i.e. any other annotators in your pipeline that could be relevant for NER output)
Are you even calling it from code (if so, Java? Python?), or using it from the command line?
A lot of this is summarised in https://stackoverflow.com/help/how-to-ask and it's not that long to read through ;)

Clickatell REST API giving error

Hi I am using clickatell REST api and getting following error:
{"messages":[],"error":"ScheduledDeliveryTime format is incorrect. - "}"
I am using correct format "yyyy-MM-dd'T'HH:mm:ssZ"
please help to fix this issue.
thanks
You need to do exactly like in documentation
--> 2018-01-25T18:17:20+0200
+0200 is your timezone
And don't forget to concatenate 'T' letter in the middle
If you don't intend to schedule it for a later time, remove that property(name-value pair) from your json.
That worked for me for now but please do post the real answer if you found it.

free-jQgrid "loading" message still remains

Since my app is online for to be tested by customer, I often meet this problem and I have to click several times on "Tiers" menu to hope it will disappear and give hand.
Here is a snapshot of the trouble :
WHen I use my app on local server (wampserver) I never meet this trouble.
I have several grids in my app and none displays this message online.
Firebug says "jquery.jqgrid.min.js" has error in line 344 (?). Used version is 4.13.5-pre dated 2016-08-27 and hosted server runs with php 5.6.8
Does somebody already met this type of trouble ?
If somebody can take some time to help me, I can give by email login and pass to test app online.
Many thanks for your kind help.
Cheers
JiheL
Thank you for reporting the issue. It would be helpful if you report the error using jquery.jqgrid.src.js instead of jquery.jqgrid.min.js, but I suppose that the only place in the code, which could produce the error is the piece of code with if ($input[0].tagName.toUpperCase() === "SELECT" && $input[0].multiple) {... (see here).
I posted the fix just now, which should eliminate the error. It includes the additional test if ($input.length > 0) {...} (see the line). I would still recommend you to examine the name and index values in colModel of your grids. It seems that your current code uses the filter with names or index, which is not from colModel or which uses some special characters. It's the only reason of the error, which one can see in console of your picture.

Erlang and current date time

I would like to get a current date time with erlang.
I have tried using the code below;
{{Year,Month,Day},{Hour,Min,Sec}} = erlang:localtime().
But sometimes it got an error like '** exception error: no match of right hand side value {{2012,5,6},{23,40,58}}'
Looks like there is a problem with 1 digit. I try searching couple of webs but still cannot find a way to cope this.
I believe this is quite an easy one but as a erlang newbie, I cannot resolve this. I try my best.
Env:
Erlang {"OTP APN 181 01","R15B01"} installed with windows binary version
Windows XP
Thanks in advance,
No, there is no problem with 1 digit. It should match perfectly well (check with {{Year,Month,Day},{Hour,Min,Sec}} = {{2012,5,6},{23,40,58}}). Most likely you have already assigned one of the variables to something earlier in the function.

Resources