Payment gateway integration problem in redirection from bcackend to front end in web application : In one of my web application which make use of spring boot and angular 6 environment i am trying to intigeate the payu payment gateway. Now the problem is they will post the success capture or failure capture data to whatever url provided by our application. 

What is the url we need to give them to post the data. Is it a backend url Or front end url. 

If it is backend url,  then once data is received in spring boot we will save the data to the db after that how to change the page in the front end. ( in angular) 

Please help me and guide me to proceede. 

Thanks
