Re: Paypal Instant Payment Notification
| From: | Chris Allen | Date: | Wed, 12 Dec 2001 05:54:08 +0000 |
| Subject: | Re: Paypal Instant Payment Notification | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77399@lists.php.net to get a copy of this message | ||
>>My problem (due to my lack of fundemental understanding) is that I don't
know how to read Paypal's response to the post. >>Paypal describes the
response like this,
>>"PayPal will respond to the post with a single word,
'VERIFIED' or 'INVALID', in the body of the response."
YES EXACTLY. it will be in that var in either xml or straight
html....simply regex the $result var and look for verified or invalid and
act accordingly.