Online Payment Module Architecture: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 152: Line 152:


=Step 4 - Fallback on result page=
=Step 4 - Fallback on result page=
When payment is complete, the use finally reach the page paymentok.php or paymentko.php.
When payment is complete, the user finally reach the page '''/public/payment/paymentok.php''' or '''/public/payment/paymentko.php'''.
The page paymentko will just return a message to explain the payment has failed. The page paymentok, will use the parameter fulltag and variables saved into session to make complementary actions like (registering the payment in the application, closing the invoice, sending an email...). The paymentok/ko page can retrieve information from:
The page paymentko will just return a message to explain the payment has failed. The page paymentok, will use the parameter fulltag and variables saved into session to make complementary actions like (registering the payment in the application, closing the invoice, sending an email...). The paymentok/ko page can retrieve information from:


Line 162: Line 162:
*$_SESSION['ipaddress']
*$_SESSION['ipaddress']
*$_SESSION['errormessage']  An error message to show
*$_SESSION['errormessage']  An error message to show


=Other features=
=Other features=
To complete...
To complete...

Navigation menu