Open andrii-kovalenko-ct opened 6 years ago
PayPal Plus pending state is unexpected:
pending
https://github.com/commercetools/commercetools-paypal-plus-integration/blob/cbfd648cddc38ef65e373fc3bf8d4ec103a7142c/src/main/java/com/commercetools/pspadapter/paymentHandler/impl/PaymentHandler.java#L274-L282
Expected only: state:
See:
com.paypal.api.payments.Payment#getState()
Implementation guides:
PaypalPlusPaymentStates#PENDING
PaypalPlusPaymentStates#FAILED
PayPal Plus
pending
state is unexpected:https://github.com/commercetools/commercetools-paypal-plus-integration/blob/cbfd648cddc38ef65e373fc3bf8d4ec103a7142c/src/main/java/com/commercetools/pspadapter/paymentHandler/impl/PaymentHandler.java#L274-L282
Expected only: state:
See:
com.paypal.api.payments.Payment#getState()
docImplementation guides:
PaypalPlusPaymentStates#PENDING
reference and all it's usagesPaypalPlusPaymentStates#FAILED
handling case