PC in game real money shop solution

So I found out I went to download League of legends again, and I went through there shop to see how they would have coded it…

It looks like they use the in game engine to manage everything up until you actually purchase then they pass an PHP request from the engine to the webpage that displays what they are trying to buy… from there I use pay pal which opens yet another page that sends a success PHP pass to the webpage then another PHP request for accepted back to the game client…

I am wondering though if this is possible through blue print with unreal… Mostly if unreal can receive PHP sent externally and translate that into a 1 true or 0 false it should be a way to do this.

  1. click a button to send you to a website (made by you so you have access to the Mysql)
  2. click and input the info to pay via a php payment portal or precoded paypal button
  3. pass the success back to the game in unreal or back to the webpage then to unreal.

This is an idea but can someone figure out how to test it?