Wednesday, November 7, 2007
Tuesday, June 5, 2007
Paypal
Problem: Buyer must be able to download a digital copy of .pdf file after they have paid.
Solution: Instant Payment Notification
Description: Paypal provides some fairly straightforward scripts. In particular there is one PHP that makes use of your database which you can then use to query after the buyer is redirected back to your site. A sandbox account was set-up through the developer zone. I also used PHP's filewrite to see the data paypal suggests you insert in your database in order to create the table with appropriate variables. For now I'm using everything varchar(50).
Note from Paypal: make sure the post is not using a previous buyer id.
More information will come.
Solution: Instant Payment Notification
Description: Paypal provides some fairly straightforward scripts. In particular there is one PHP that makes use of your database which you can then use to query after the buyer is redirected back to your site. A sandbox account was set-up through the developer zone. I also used PHP's filewrite to see the data paypal suggests you insert in your database in order to create the table with appropriate variables. For now I'm using everything varchar(50).
Note from Paypal: make sure the post is not using a previous buyer id.
More information will come.
Subscribe to:
Posts (Atom)