Some negative testing value only reply 403 Forbidden
likwueron
New Community Member
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Oct-27-2024
11:25 PM
I just found some negative testing value cannot produce a detail error response, they just said 403 Forbidden.
Those value are CARD_EXPIRED, CARD_CLOSED. Is that normal?
api i test is /v2/checkout/orders/{orderId}/capture
haven't test all value list in https://developer.paypal.com/api/rest/reference/orders/v2/errors/
but
INSTRUMENT_DECLINED
AGREEMENT_ALREADY_CANCELLED
ORDER_NOT_APPROVED
MAX_NUMBER_OF_PAYMENT_ATTEMPTS_EXCEEDED
TRANSACTION_REFUSED
reply well format error message
Maybe Paypal already check credit card status, but CARD_EXPIRED, CARD_CLOSED still list in capture order section which make me feel a bit anxious.
0 REPLIES 0

Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- PayPal-Mock-Response header not working -- got 403 error instead. Help! in Sandbox Environment
- Prevent changing shipping address via SET_PROVIDED_ADDRESS not working. Orders V2 Advanced Checkout in REST APIs
- Advanced Checkout Error Trigger is not triggering an error but still going through onApprove in Sandbox Environment
- Values for negative testing in Sandbox Environment