AuthorizationsCapture checkout java sdk v2 and postman rest api return diff result

cmchen
New Community Member

i create order using 

 "intent""AUTHORIZE",

, when into step Capture payment for order, the checkout java sdk v2 and postman rest api return diff result

postman rest api return all the message as below:

{
    "id""88L41247UY624925U",
    "amount": {
        "currency_code""USD",
        "value""0.30"
    },
    "final_capture"false,
    "seller_protection": {
        "status""ELIGIBLE",
        "dispute_categories": [
            "ITEM_NOT_RECEIVED",
            "UNAUTHORIZED_TRANSACTION"
        ]
    },
    "seller_receivable_breakdown": {
        "gross_amount": {
            "currency_code""USD",
            "value""0.30"
        },
        "paypal_fee": {
            "currency_code""USD",
            "value""0.30"
        },
        "net_amount": {
            "currency_code""USD",
            "value""0.00"
        },
        "exchange_rate": {}
    },
    "status""PENDING",
    "status_details": {
        "reason""PENDING_REVIEW"
    },
    "create_time""2023-09-06T09:02:04Z",
    "update_time""2023-09-06T09:02:04Z",
    "links": [
        {
            "rel""self",
            "method""GET"
        },
        {
            "rel""refund",
            "method""POST"
        },
        {
            "rel""up",
            "method""GET"
        }
    ]
}
 
but the java checkout sdk only a few value as below
{
    "id""88L41247UY624925U",
    "amount": null,
    "final_capture"false,
    "seller_protection": null,
    "seller_receivable_breakdown": null,
    "status""PENDING",
    "status_details": {
        "reason""PENDING_REVIEW"
    },
    "create_time": null,
    "update_time"null,
    "links": [
        {
            "rel""self",
            "method""GET"
        },
        {
            "rel""refund",
            "method""POST"
        },
        {
            "rel""up",
            "method""GET"
        }
    ]
}
what cause this different?
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.