AlphaCommerceHub wrongly responds «A PayerId is required for this transaction» to a PayPal's `CapturePayment` API request if `Amount` and `Currency` are not provided

alphacommercehub
alphacommercehub-api
alphacommercehub-api-response
alphacommercehub-paypal
alphacommercehub-paypal-capture

(Dmitry Fedyuk) #1

Request

{
    "Header": {
        "MerchantID": "ANTERIOR001",
        "TransactionType": "CapturePayment",
        "UserID": "<...>",
        "Version": "2"
    },
    "Transaction": {
        "MerchantTxnID": "1208L.769",
        "Method": "PP"
    },
    "Wallet": {
        "WalletID": "7EY65DU75L82G"
    }
}

Response

{
    "Banks": null,
    "Country": null,
    "DocumentResults": null,
    "EmailChecks": null,
    "FraudChecks": null,
    "GeoChecks": null,
    "ProviderResps": {
        "ProviderResp": [
            {
                "ProviderName": "Paypal",
                "ProviderOrder": "1"
            }
        ]
    },
    "Result": {
        "custom1": null,
        "custom2": null,
        "custom3": null,
        "custom4": null,
        "custom5": null,
        "MerchantID": "ANTERIOR001",
        "MerchantTxnID": "1208L.769",
        "ResponseCode": "1047",
        "ResponseMessage": "A PayerId is required for this transaction.",
        "ResponseTimestamp": "08122017092257"
    },
    "ShippingService": null,
    "TaxResultLines": null
}

(Rónán Gallagher) #2

Can you retest this scenario as we do not have the logs of the first request. Please use a unique/new MerchantTxnID