paypal / PayPal-node-SDK

node.js SDK for PayPal RESTful APIs
Other
1.28k stars 451 forks source link

Capture function is displaying incorrect error messaging #415

Closed BrandonCopley closed 4 years ago

BrandonCopley commented 5 years ago

When performing a DUPLICATE PAYPAL.authorization.capture()

ERROR: AUTHORIZATION_CANNOT_BE_VOIDED will be shown, however the old error message that used to be returned was ERROR: AUTHORIZATION_ALREADY_COMPLETED which was far more accurate.

sucithrashanu commented 4 years ago
Error_Msg

@BrandonCopley : I am using the version SDK 1.8.1 and getting error message like ERROR: AUTHORIZATION_ALREADY_COMPLETED when status is "state": "approved".

sucithrashanu commented 4 years ago

@BrandonCopley I am closing the ticket. If you have any query please reopen the issue.

Thanks