31,034
edits
Tag: 2017 source edit |
Tag: 2017 source edit |
||
| Line 98: | Line 98: | ||
When the form to enter payment information are submitted (whatever is the page that handle it), the payment system should send a redirect to the page '''/public/payment/paymentok.php''' or '''public/payment/paymentko.php''' depending on status of payment. | When the form to enter payment information are submitted (whatever is the page that handle it), the payment system should send a redirect to the page '''/public/payment/paymentok.php''' or '''public/payment/paymentko.php''' depending on status of payment. | ||
* If the page to enter the payment was an external page, this external page must do a redirect to the one or the other (depending on success or not) but in both cases, the content of the variable $FULLTAG must be provided inside a parameter '''fulltag'''. | |||
* If the page to enter payment was the newpayment page, using the a custom form, you can retrieve the submit of the form inside the hook doAction. You must use a parameter submited by your form to make the difference between the use of the hook in this step, after a payment has been done, or the use of the hook at the previous step (when the page is shown to output the form to enter payment information). | |||
= Step 4 - Fallback on result page = | = Step 4 - Fallback on result page = | ||