- I am currently testing in sandbox, and I would like to see the actual response when an invalid OTP is entered.
Currently, it seems like entering an invalid OTP still returns a COMPLETED status from the verifyBuyer
request, which should have been REJECTED.
Is this a bug?
VerifyBuyerResponseDetails:
{
"token": "verf:CA4SEIn8lhs4YMl6_ncBb3XG9vIgACgC",
"userChallenged": true
}
- Another one is when the user cancels the 3DS Challenge form.
verifyBuyer
throws an error with the message below instead of returning a CANCELED status
VerifyBuyerError: An issue occurred while verifying the buyer
The verification was not successful: verf:CA4SECNHDjrgGFj79g8oUulUcH8gACgC
at square.js:3:385709
at Generator.throw (<anonymous>)
at Jf (square.js:3:383360)
at s (square.js:3:383601)
API Request Response
{
"token": "verf:CA4SECNHDjrgGFj79g8oUulUcH8gACgC",
"status": "CANCELED",
"challenges": [
{
"type": "SQUARE_THREEDS",
"status": "CANCELED",
"square_three_ds_verification": {
"status": "CANCELED",
"three_ds_server_transaction_id": "0a0c2d64-6dd5-4a6f-b82b-1e13df811002",
"directory_server_id": "A000000003",
"message_version": "2.2.0"
}
}
]
}
Would really appreciate your assistance.
Thank You
4 posts - 3 participants