paypal - How to explicitly reject an IPN request -


in the documentation ipn, says things "check email address make sure not spoof". cannot see when case, , how tell paypal want reject transaction. e.g. sent 400 instead of 200? or alter post data in other way?

or ignore message? (the problem paypal keep re-trying, wasted bandwidth us, means takes longer user hear payment failure.)

background: realize sending paypal , getting verified message handles security issues. in case, there unique id information in custom field. if missing, or not validate against db, want reject payment. want customer see failed, know go , use fresh form. alternative accept payment, , have involve manual process trying work out payment came from, , possibly manual refund. (other reasons might inventory has sold out in split second between them seeing product on site , clicking buy.)

the payment didn't fail. paypal notifying payment succeeded: not asking whether want accept it. can't reject @ stage.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -