Gateway Screen

Stefan's Avatar


30 Oct, 2018 11:06 PM

I tested the Gateway Screen with variables. I noticed that the string returned by the server must exactly match the URL stored in sparkbooth.

If the server changes the order of the variables or transmits additional values, it will not work. Can Sparkbooth be improved here?

  1. Support Staff 1 Posted by John Wu on 30 Oct, 2018 11:37 PM

    John Wu's Avatar

    It must match the front part of the url. So if the success url is, it will match

    Do you have an example of what you are looking for?

  2. 2 Posted by Stefan on 31 Oct, 2018 09:01 AM

    Stefan's Avatar

    Here are my examples:

    My success URL is:
    http://localhost:8777/success.htm id={id}&booth={booth}&promo_conde=4711&prints={prints}

    The server returns this URL:

    Because of the different order of the variables in the return value, it does not seem to work.

    And it does not work if the server still sends additional information that does not occur in the success URL. For example:

    Success URL:

    Server return:

    Here the additional promo_code seems to be the problem.

    Only if the entire return value from beginning to end with the success URL matches it works for me

  3. Support Staff 3 Posted by John Wu on 31 Oct, 2018 03:27 PM

    John Wu's Avatar

    Why don't you just use http://localhost:8777/success.htm
    the success url? So that way it does not matter what the query variables
    are that follow?

  4. Support Staff 4 Posted by John Wu on 31 Oct, 2018 03:39 PM

    John Wu's Avatar

    You are right it is trying to match the enter url. If I change to match the
    first part of the url, would that work for you?


  5. Support Staff 5 Posted by John Wu on 31 Oct, 2018 10:48 PM

    John Wu's Avatar

    Try this build

    I added a match type setting for the success and failed URLs (see attached
    - Entire: Url must match the entire web page url from beginning to end
    - Beginning: Url must match the beginning of the url. This will work with
    your example if you set your success and cancel urls are "
    http://localhost:8777/success.html" and "http://localhost:8777/failed.html"
    - the match will ignore the query string parameters that follow the page url
    - Any Part: Url matches any part of the page url. So you can use just
    "success,html" and "failed.html" for the urls.

  6. 6 Posted by Stefan on 01 Nov, 2018 02:52 PM

    Stefan's Avatar

    All URL Match versions I tested today and they work. - Super !

    Thanks for the great service. The setting "Beginning" is really helpful for me. A use for "Any Part" is not (yet) occurred to me :-) Maybe for http (s) deviations.

    All you have to do is make sure that the order of the variables supplied by the server is the same as the URL, or that you omit variables in the cuccess URL. One could point this out in the documentation.

    What's missing is the translation of the buttons "Before Starting / For Printing", as well as the new Schlater "URL Match" ;-)

    Here are my settings, with which it works now:

  7. Support Staff 7 Posted by John Wu on 01 Nov, 2018 03:58 PM

    John Wu's Avatar

    Cool. Thanks to letting me know. The translations are coming later.

  8. 8 Posted by Stefan on 01 Nov, 2018 05:05 PM

    Stefan's Avatar

    To be able to use HTML pages universally: Can the mode "Before Starting / For Printing" also be transmitted in one variable?

  9. Support Staff 9 Posted by John Wu on 01 Nov, 2018 10:12 PM

    John Wu's Avatar

    Sure, I add a {buying} token you can use the urls which will be replace
    with "session" or "printing" in the next update.

  10. John Wu closed this discussion on 28 Nov, 2018 05:40 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac