This would be OS dependent, but on iOS when clients launch WoS with a url, that url could include a callback url or scheme parameter, which you could then open from WoS when the transaction is done. It might look like:
walletofsatoshi:lightning:<invoice>?callback=nostr
So WoS would read that parameter and open the url “nostr://“ at the end, which would launch the initiating app.