PHP script to work with Instant Payment Notifications (IPN)

Completed Posted Mar 24, 2008 Paid on delivery
Completed Paid on delivery

Hello, My payment processor (Clickbank) now has an Instant Payment Notification (IPN) service. This service calls a PHP script on my server when a product is sold, refunded, or causes a chargebackm, and gives the script information about the sale or refund. You can read more about it here: [url removed, login to view] I need this PHP script to take the receipt ID (variable "ctransreceipt") and store it in a MySQL database (I have already set it up) along with the date of the transaction in MM-DD-YYYY format. However, this should only happen if the product number (variable "cproditem") is 1, 2, 3, 4, 5, or 6. If the transaction type is "RFND" or "CGBK" or "INSF," the script should search for the receipt ID of the sale (variable "ctransreceipt") and REMOVE it from the database. The script should output just "1" (without the quotes) when it has succesfully run. It should ALSO return "1" if the transaction type is "TEST," but it shouldn't do anything if that is the case. That's it! Let me know if you have any questions. Thanks! Note: this is a small-business project... please bid accordingly.

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

PHP

Amazon Web Services MySQL PHP Software Architecture Software Testing Web Hosting Website Management Website Testing

Project ID: #3819231

About the project

7 proposals Remote project Active Mar 24, 2008

Awarded to:

vijaykuve

See private message.

$29.75 USD in 7 days
(23 Reviews)
3.4

7 freelancers are bidding on average $41 for this job

mabdelmonem

See private message.

$42.5 USD in 7 days
(137 Reviews)
6.4
castwide

See private message.

$42.5 USD in 7 days
(96 Reviews)
5.7
aachisholm

See private message.

$63.75 USD in 7 days
(48 Reviews)
5.6
ebuyersl

See private message.

$42.5 USD in 7 days
(17 Reviews)
3.4
reedoxvw

See private message.

$42.5 USD in 7 days
(15 Reviews)
3.2
blu666z

See private message.

$21.25 USD in 7 days
(6 Reviews)
3.1