A
A
Arvid Godyuk2011-05-05 16:32:31
PHP
Arvid Godyuk, 2011-05-05 16:32:31

HTTP Code in PayPal response if Payal request verification server is not available

Anyone who works with PayPal knows that in order to verify a payment, you need to make a request to the PayPal server and get a VERIFIED response if the payment is correct. If everything is OK, then the system returns the status 200 and PayPal considers the notification as successful.

Now the question is - if the verification request failed - cURL timeout or something systemic - what HTTP status would be correct to give for the PayPal notifier?

My option is to use HTTP code 503 Service Unavailable

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pratamishus, 2011-05-05
@pratamishus

As far as I remember, for Paypal everything that is not VERIFIED is an error by default. For certain errors, there are answers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question