Showing results for 
Search instead for 
Did you mean: 

PayPal\Api\Payment - getState()


PayPal\Api\Payment - getState()

I have a question regarding states:

The API says the following:

getState( ) The state of the payment, authorization, or order transaction. The value is:

  • created: The transaction was successfully created.

  • approved: The buyer approved the transaction.

  • failed: The transaction request failed.


What does approved actually mean ?

Is the money already on my PayPal account ?

Can it be canceled by the Payer after the status is approved (fraud) ?

The question is now, is it safe to ship the product when the status is approved?

Is that enough or do I need to use a Webhook or IPN ?

Here is an example response for my current sandbox setup:

And then here:
There is another state which says "completed"

~ Marc