NodeJs SDK: Order completed but no payment

FabioC
Contributor
Contributor

Using SDK for nodejs I created an order.

 

The order is correctly created and paid, the response to capture says the operation is complete but there is no evidence of the payment in the web interface.

 

Here the capture result:

 

 

{
    "id": "2NK***********",
    "intent": "CAPTURE",
    "status": "COMPLETED",
    "purchase_units": [
        {
            "reference_id": "default",
            "amount": {
                "currency_code": "EUR",
                "value": "55.40",
                "breakdown": {
                    "item_total": {
                        "currency_code": "EUR",
                        "value": "45.41"
                    },
                    "shipping": {
                        "currency_code": "EUR",
                        "value": "0.00"
                    },
                    "handling": {
                        "currency_code": "EUR",
                        "value": "0.00"
                    },
                    "tax_total": {
                        "currency_code": "EUR",
                        "value": "9.99"
                    },
                    "insurance": {
                        "currency_code": "EUR",
                        "value": "0.00"
                    },
                    "shipping_discount": {
                        "currency_code": "EUR",
                        "value": "0.00"
                    },
                    "discount": {
                        "currency_code": "EUR",
                        "value": "0.00"
                    }
                }
            },
            "payee": {
                "email_address": "payeeEmail",
                "merchant_id": "4HMZ7C******"
            },
            "description": "ORDER: 035370",
            "custom_id": "0311111",
            "soft_descriptor": "PAYPAL *****",
            "shipping": {
                "name": {
                    "full_name": "John Doe"
                }
            },
            "payments": {
                "captures": [
                    {
                        "id": "5232**********",
                        "status": "COMPLETED",
                        "amount": {
                            "currency_code": "EUR",
                            "value": "55.40"
                        },
                        "final_capture": true,
                        "seller_protection": {
                            "status": "NOT_ELIGIBLE"
                        },
                        "seller_receivable_breakdown": {
                            "gross_amount": {
                                "currency_code": "EUR",
                                "value": "55.40"
                            },
                            "paypal_fee": {
                                "currency_code": "EUR",
                                "value": "2.23"
                            },
                            "net_amount": {
                                "currency_code": "EUR",
                                "value": "53.17"
                            }
                        },
                        "custom_id": "0311111",
                        "links": [
                            {
                                "href": "https://api.paypal.com/v2/payments/captures/****",
                                "rel": "self",
                                "method": "GET"
                            },
                            {
                                "href": "https://api.paypal.com/v2/payments/captures/****/refund",
                                "rel": "refund",
                                "method": "POST"
                            },
                            {
                                "href": "https://api.paypal.com/v2/checkout/orders/*****",
                                "rel": "up",
                                "method": "GET"
                            }
                        ],
                        "create_time": "2022-05-24T07:02:14Z",
                        "update_time": "2022-05-24T07:02:14Z"
                    }
                ]
            }
        }
    ],
    "payer": {
        "name": {
            "given_name": "John",
            "surname": "Doe"
        },
        "email_address": "payerEmail",
        "payer_id": "6CU*******",
        "phone": {
            "phone_number": {
                "national_number": "123456789"
            }
        },
        "address": {}
    },
    "update_time": "2022-05-24T07:02:14Z",
    "links": [
        {
            "href": "https://api.paypal.com/v2/checkout/orders/********",
            "rel": "self",
            "method": "GET"
        }
    ]
}

 

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

FabioC
Contributor
Contributor
1 REPLY 1
Solved

FabioC
Contributor
Contributor

It was a customer problem. 

 

Solved

Login to Me Too

Haven't Found your Answer?

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