It is actually quite easy to charge with PayPal. It depends on the feedback you want from PayPal. For more information, see the PayPal developer site .
EDIT : I really have to explain what I mean by “feedback”.
When a user submits to the PayPal website for payment, you can submit it there using a fairly simple web form (yes, a simple <form>...</form> .) If you only have 1 product, then this form can be even static HTML.
The hard part appears after the user pays.
Option 1: Check PayPal payment manually for payment. If the user paid, then you send him an email and send everything you want to sell. The easiest way is the least amount of code. The disadvantages are that you have to do a manual check manually, and basically it's just a drain on your attention.
Option 2. Get automatic confirmation from PayPal in your application. Either receiving mail sent to the PayPal HTTP server, or actively requesting the PayPal server for confirmation after a long enough time for the transaction to complete. This means that the user receives immediate feedback after the transaction is completed. You can even automatically send him the goods! The disadvantage is that such a solution is a lot more code.
Oh, and every time I said "PayPal"? All the services I just talked about are provided by every credit card authorization gateway I have ever seen.
scraimer
source share