For the (French) payment system PayFip, a URL is generated which opens a new window with different arguments. Exemple :
https://www.payfip.gouv.fr/tpa/paiement.web?numcli=000001&exer=2018&refdet=2018EA0001&objet=&montant=11256&mel=xxx@xxx.xx&urlcl=https://www.mysite.fr/payment_return_page.php&saisie=T
After payment (via this new window) a URL is generated with "urlcl" and is called when this window is closed.
Example :
https://www.mysite.fr/payment_return_page.php?numcli=######&exer=#####&refdet=######&objet=######&montant=##########&mel=#####@###. ##&saisie=T&resultrans=#&numauto=####&dattrans=########&heurtrans=####
My shared server logs prove that my "payment_return_page.php" page seems to be receiving a POST. But I don't know how I can display this page.
Logically the parent page should update, right? What is the best way to get and display the arguments (or the POST array) for this return URL?
I mainly use PHP, JS, AJAX, or JSON ... Is this possible?
Thank you for your help.