
systems-sample.ConversationSystemExample.givexConversation.preAuthCardSuccessfully.scn Maven / Gradle / Ivy
The newest version!
[language]
javascript
[when]
payload.PreAuth != null && payload.PreAuth.givexNumber.indexOf("111122223333") == 0 && payload.PreAuth.givexNumber.indexOf("1111222233330000") != 0
[execute]
var part = payload.PreAuth.response;
part.responseContent = '\
\
\
' + Math.floor((Math.random()*1000000)+1) + ' \
' + payload.PreAuth.amount + ' \
\
\
\
\
';
payload;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy