I have a pwa app. in this app we have an account charge feature. the server gives us a pay link which is an external link. after we open it and user goes through payment(IPG) and after successful payment he will get redirected to a page in our site. in that page we have a "back to application" button with some query params which includes some information about payment.
The question is how can i get the query params in another origin when user gets back to my app in order to find out whether the payment was successful or not?
we have a standalone pwa and i want to open the pwa app when user wants to get back to app after payment and not opening another instance of safari.