Manish Goyal
Manish Goyal

Reputation: 700

Paypal API Implementation using PHP

I have developed a freelancing website, where client can pay through paypal

but I am confused how to check client has paid for which job?

System is redirecting user to paypal interface where he pays and returns back, now to store payment transaction information I have implemented IPN

but How would i know client has paid for which job

for eg If I have following database schema for transaction

id, user_id, job_id, trans_id

How would I get job_id while saving transaction id?

is there any concept of custom fields?

Upvotes: 0

Views: 118

Answers (1)

Damodaran
Damodaran

Reputation: 11065

You can use the custom field in IPN. Check this

From documentation

custom Custom value as passed by you, the merchant. These are pass-through variables that are never presented to your customer Length: 255 characters

Upvotes: 2

Related Questions