Online Payment Module Architecture: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 63: Line 63:
Then the page show the form to enter the payment information (credit card number). The page may also choose to make a redirect to another page (on remote system) that ask this information.
Then the page show the form to enter the payment information (credit card number). The page may also choose to make a redirect to another page (on remote system) that ask this information.


To save data of your choice in session or to make a redirect to the remote payment page, you must implement the hook '''doPayment''' in the context 'newpayment'.
To save data of your choice in session and/or to make a redirect to the remote payment page, you must implement the hook '''doPayment''' in the context 'newpayment'.
If you
 
=>


= Step 3 - Entering payment information =
= Step 3 - Entering payment information =

Navigation menu