Notify Servoy with Ogone payment status

Hello,

I’m developping a e-payment plugin to integrate in Servoy. I managed to make a connection to the Ogone WebService and in the response i’m able to get the URL. This URL I’m going to use to display the website in a the WebBrowser Suite plugin. Here the customer has to fill in his cardnumber an CVC in order to complete the transaction. Once the transaction is completed, the user will be able to see a notification within the WebBrowser plugin.

Now my problem is: Servoy needs to know if the transaction has been succesful or not. Depending on this result, the shopping cart in my e-shop needs to be cleared (transaction succes) or stay the same (transaction failed).

Is there someone who knows how I can let Servoy know if this transaction has been succesful or not?

Thanks in advance!

That really depends on the WebService APIs, did you check their documentation?

Either your web service is returning a status directly, or it is redirecting to a URL, in which case you could create a Servlet and set that URL as the return URL of your call and retrieve the status from there…

Is it possible to check the value of a hidden field within the website displayed in the WebBrowser suite?
So i can use this value in Servoy to make specific decisions.

Thanks!

Nevermind, got it! :)