| | 1 | 1. When configuring the !FileMaker server, |
| | 2 | - use the new wildcard SSL certificate for the server |
| | 3 | - enable the XML interface using either the CLI or API |
| | 4 | - enable the PHP API using either the CLI or API |
| | 5 | |
| | 6 | 2. Ensure that there is a valid DNS entry for the !FileMaker server which the PHP code can connect to the PHP API interface using (e.g. fms.solopress.com). |
| | 7 | |
| | 8 | 3. Import the payment.solopress.com EV SSL certificate to the local machine certificate store |
| | 9 | |
| | 10 | 4. Download and install the subversion command line client from https://msdev.co.uk/windows-svn-client/ |
| | 11 | |
| | 12 | 5. Open a command prompt, run the following commands to export the PHP code from version control into the webroot folder |
| | 13 | {{{ |
| | 14 | cd c:\inetpub\wwroot |
| | 15 | svn export https://svn.msdev.co.uk/SoloPress/trunk/src/ ./ --force --username subversion --password Rb9Pa4lF |
| | 16 | }}} |
| | 17 | |
| | 18 | 6. Create the payment.solopress.com virtual host in the IIS console. |
| | 19 | - Set the Physical Path to C:\inetpub\wwwroot |
| | 20 | - bind to port 80 with host payment.solopress.com |
| | 21 | - bind to port 443 with host payment.solopress.com, require SNI, and select the payment SSL cert |
| | 22 | |
| | 23 | 7. Ensure that the internal DNS entry for payment.solopress.com points to the correct internal IP address |
| | 24 | |
| | 25 | 8. Modify `C:\inetpub\wwwroot\assets\includes\config.php` to point to the DNS name of the FMS, including the https protocol (this is a new FM17 requirement) |
| | 26 | |
| | 27 | 9. Switch the payment gateway to test mode in the above config file. |
| | 28 | |
| | 29 | 10. Conduct end-to-end testing of the payment process to ensure everything functions as expected (e.g. using https://payment.solopress.com/?/order/v9jhQs8TPbFxp8748HUUPi/dfdd16d0b176755c8434754d1d78701b) |
| | 30 | |
| | 31 | 11. Conduct testing of the order submission process |
| | 32 | |
| | 33 | 12. Revert the payment gateway in the config file to production mode |
| | 34 | |
| | 35 | 13. Switch the external DNS for payment.solopress.com to point to the external IP address of the server |