You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.
It has come to my attention that while the state of the Payment Object returned by the execute method is approved, the state of the Sale Object is pending in some cases.
I'm wondering what are the causes for the Sale Object having a state of pending?
(If I know the reason I can alert the users as to how to fix this issue, since I can't accept payments that aren't fully complete).
Thanks.
The text was updated successfully, but these errors were encountered:
theyuv
changed the title
Possible Webhooks events after a Payment is created, approved and executed
Reasons for Sale Object having a state of 'pending' after executing a payment via REST API
Nov 28, 2019
Hi @theyuv, Please refer Show sale details API you can check the reason_code in the response which describes why the transaction state is pending or reversed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I execute payments using the REST API similar to what's outlined here:
https://developer.paypal.com/docs/api/quickstart/payments/#execute-payment
It has come to my attention that while the
state
of thePayment
Object returned by theexecute
method isapproved
, thestate
of theSale
Object ispending
in some cases.I'm wondering what are the causes for the
Sale
Object having astate
ofpending
?(If I know the reason I can alert the users as to how to fix this issue, since I can't accept payments that aren't fully complete).
Thanks.
The text was updated successfully, but these errors were encountered: