I need to add credit cards to my website as alternative to PayPal.
I've chosen AlertPay as payment processor, since they have API, which can be run entirely from my server, without redirects. So I need a function, which will do all communication with their server.
Basically I need:
1. Class to work with AlertPay. It must have all main functions listed in their API manual. (for ex. getting accounts data, registration, creation of orders and so on)
2. INS (instant notification) script with dummy actions for all events.
3. Sandbox account to work with API
4. Your instruction on how to work with your class, with example, which works on your server