Is "UNAUTHORIZED_TRANSACTION" an error in Sandbox?

Newbie123451
Colaborador
Colaborador

Is response "dispute_categories": "ITEM_NOT_RECEIVED", "UNAUTHORIZED_TRANSACTION" an error when testing in Sandbox?

I am getting such response after submitting a payment. I do see the transaction as Completed. Wondering before going live and having real errors

 

Full response (I have replaced some values with # or X strings for privacy purposes):

 

 

"additional_properties": "xxxxxx",
"body": {
  "create_time": "2022-11-02T16:58:10Z",
  "id": "###",
  "intent": "CAPTURE",
  "links": [
    {
      "href": "https://api.sandbox.paypal.com/v2/checkout/orders/xxxxxx",
       "method": "GET",
       "rel": "self"
     }
   ],
   "payer": {
     "address": {
       "country_code": "MX"
     },
     "email_address": "*****",
     "name": {
       "given_name": "*****",
       "surname": "*****"
     },
     "payer_id": "###"
   },
   "purchase_units": [
     {
       "amount": {
         "currency_code": "MXN",
         "value": "###"
       },
       "payee": {
         "email_address": "something@business.example.com",
         "merchant_id": "XXXXXX"
       },
       "payments": {
         "captures": [
           {
             "amount": {
               "currency_code": "MXN",
               "value": "###"
             },
             "create_time": "2022-11-02T16:58:33Z",
             "final_capture": true,
             "id": "XXXXX",
             "seller_protection": {
               "dispute_categories": [
                 "ITEM_NOT_RECEIVED",
                 "UNAUTHORIZED_TRANSACTION"
               ],
               "status": "ELIGIBLE"
             },
             "status": "COMPLETED",
             "update_time": "2022-11-02T16:58:33Z"
           }
         ]
       },
       "reference_id": "default",
       "shipping": {
         "address": {
           "address_line_1": "*****",
           "address_line_2": "*****",
           "admin_area_1": "Ciudad de Mexico",
           "admin_area_2": "Miguel Hidalgo",
           "country_code": "MX",
           "postal_code": "11580"
         },
         "name": {
           "full_name": "*****"
         }
       },
       "soft_descriptor": "PAYPAL *TEST STORE"
     }
   ],
   "status": "COMPLETED",
   "update_time": "2022-11-02T16:58:33Z"
 },
 "duration_time": "xxxxxx",
 "header": {
   "APPLICATION_ID": "APP-XXXXXXX",
   "BORDER-IP": "xxxxxx",
   "CALLER_ACCT_NUM": "XXXXXXX",
   "Date": "Wed, 02 No[Removed. Phone #s not permitted]GMT",
   "Keep-Alive": "xxxxxx",
   "PROCESSING-IP": "xxxxxx",
   "SERVER_INFO": "xxxxxx",
   "paypal-debug-id": "xxxxxxx"
 },
 "status": 201

 

 

  

Login to Me Too
0 RESPUESTAS 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.