I need a PayPal integration for a custom e-commerce website. The code needs to be implemented in a PHP class. The customer details are already available and the code should send this to the PayPal website with all the other payment data.
The order and invoice are already there. The customer opens the invoice on the website and wants to pay with PayPal. The customer clicks on the PayPal link or button to the PayPal website. The information is already filled in, or the customer logs in if he has a PayPal account. After the payment process, the user should be redirected to the website and a success message will be displayed. The back-end of the website will also be updated.
The methods in the class should be accessible by our e-commerce system and easy for us to implement. This is not a CC integration or an integration where the customer fills the contact data on the PayPal website. We want to use NVP instead of SOAP. I need this ASAP.
Also if your solution is good and you know how to implement other payment plugins, you can work on that as well after we implemented the PayPal class.