What follows is not a step-by-step guide for using PAYMILL. You will need a some knowledge of Javascript (inc. jQuery), a bit of PHP and preferably some experience with cross domain requests. Additionally, you will have to upload files to Heroku, which requires Git and terminal commands, or any other service that you can host the PHP files.
Let's look at a brief overview of the process:
- The User fills in their credit card details in their browser;
- The PAYMILL JS library generates a token on PAYMILL's servers and hands it back to the browser;
- The browser sends this token to our own server;
- Our server uses the PAYMILL server-side library to submit the charge to PAYMILL;