tag:help.sparkbooth.com,2010-04-06:/discussions/questions/76924-gateway-screenSparkbooth: Discussion 2018-11-28T17:40:32Ztag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-30T23:06:20Z2018-10-30T23:06:20ZGateway Screen<div><p>I tested the Gateway Screen with variables. I noticed that the string returned by the server must exactly match the URL stored in sparkbooth.</p>
<p>If the server changes the order of the variables or transmits additional values, it will not work. Can Sparkbooth be improved here?</p></div>Stefantag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-30T23:37:37Z2018-11-03T00:00:52ZGateway Screen<div><p>It must match the front part of the url. So if the success url is<br>
<a href="https://yourdomain.com/success">https://yourdomain.com/success</a>, it will match<br>
<a href="https://yourdomain.com/success?id=XXXXXX">https://yourdomain.com/success?id=XXXXXX</a>.</p>
<p>Do you have an example of what you are looking for?</p></div>Johntag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-31T09:01:09Z2018-10-31T09:01:09ZGateway Screen<div><p>Here are my examples:</p>
<p>My success URL is:<br>
http://localhost:8777/success.htm id={id}&booth={booth}&promo_conde=4711&prints={prints}</p>
<p>The server returns this URL:<br>
http://localhost:8777/success.htm?booth=FotoBoxL&id=709543&promo_code=4711&prints=2</p>
<p>Because of the different order of the variables in the return value, it does not seem to work.</p>
<p>And it does not work if the server still sends additional information that does not occur in the success URL. For example:</p>
<p>Success URL:<br>
http://localhost:8777/success.htm?booth={booth}&id={id}&prints={prints}</p>
<p>Server return:<br>
http://localhost:8777/success.htm?booth=FotoBoxL&id=709543&promo_code=4711&prints=2</p>
<p>Here the additional promo_code seems to be the problem.</p>
<p>Only if the entire return value from beginning to end with the success URL matches it works for me</p></div>Stefantag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-31T15:27:02Z2018-10-31T15:27:02ZGateway Screen<div><p>Why don't you just use http://localhost:8777/success.htm<br>
<a href="http://localhost:8777/success.htm?booth=%7Bbooth%7D&id=%7Bid%7D&prints=%7Bprints%7D">http://localhost:8777/success.htm?booth=%7Bbooth%7D&id=%7Bid%7D&prints=%7Bprints%7D</a><br>
for<br>
the success url? So that way it does not matter what the query variables<br>
are that follow?</p></div>Johntag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-31T15:39:39Z2018-10-31T15:39:39ZGateway Screen<div><p>You are right it is trying to match the enter url. If I change to match the<br>
first part of the url, would that work for you?</p></div>Johntag:help.sparkbooth.com,2010-04-06:Comment/463951852018-10-31T22:48:29Z2018-10-31T22:48:29ZGateway Screen<div><p>Try this build<br>
<a href="https://www.dropbox.com/s/utqk4w73b7duem5/sparkboothdslr-6.0.75.exe?dl=0">https://www.dropbox.com/s/utqk4w73b7duem5/sparkboothdslr-6.0.75.exe...</a></p>
<p>I added a match type setting for the success and failed URLs (see attached<br>
screenshot)<br>
- 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 "<br>
http://localhost:8777/success.html" and "http://localhost:8777/failed.html"<br>
- 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.</p></div>Johntag:help.sparkbooth.com,2010-04-06:Comment/463951852018-11-01T14:52:28Z2018-11-01T14:52:28ZGateway Screen<div><p>All URL Match versions I tested today and they work. - Super !</p>
<p>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.</p>
<p>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.</p>
<p>What's missing is the translation of the buttons "Before Starting / For Printing", as well as the new Schlater "URL Match" ;-)</p>
<p>Here are my settings, with which it works now:</p></div>Stefantag:help.sparkbooth.com,2010-04-06:Comment/463951852018-11-01T15:58:16Z2018-11-01T15:58:16ZGateway Screen<div><p>Cool. Thanks to letting me know. The translations are coming later.</p></div>Johntag:help.sparkbooth.com,2010-04-06:Comment/463951852018-11-01T17:05:54Z2018-11-01T17:05:54ZGateway Screen<div><p>To be able to use HTML pages universally: Can the mode "Before Starting / For Printing" also be transmitted in one variable?</p></div>Stefantag:help.sparkbooth.com,2010-04-06:Comment/463951852018-11-01T22:12:23Z2018-11-01T22:12:23ZGateway Screen<div><p>Sure, I add a {buying} token you can use the urls which will be replace<br>
with "session" or "printing" in the next update.</p></div>John