Some negative testing value only reply 403 Forbidden

likwueron
New Community Member

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.

Login to Me Too
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.