T.Cavanagh 0 Newbie Poster

Hi everyone,

I currently have a IPN script which I use when I call paypal, the script works fine and no problems there etc etc...

The problem i have come across is that one of my clients needs it so that if the user does not have a verified account with Paypal then Paypal should not let the payment occur.

I have seen that there is a payer_status variable which Paypal sends back to my IPN with either "verified" or "unverified" set against the variable.

Now if i set in my code to check this variable and if it is unverified i can not execute the database script i have set to run on success but it seems that paypal will still let them carry on with the payment as there is no way of redirecting from my IPN script.

Can anybody tell me how i would stop paypal from letting the payment go through if the account is unverified?

Many Thanks in advance

Tom

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.