[AlphaCommerceHub] My PayPal `CapturePayment` transaction fails: «Original transaction not found»

@gallaron

1. Request

1.1. Headers

Request: POST / HTTP/1.1
Content-Type: application/json
Host: hubapiuat.alphacommercehub.com.au
<other headers>

1.2 Body

{
    "Header": {
        "MerchantID": "ANTERIOR001",
        "TransactionType": "CapturePayment",
        "UserID": "<hidden>",
        "Version": "2"
    },
    "Transaction": {
        "Amount": "161000",
        "Currency": "AUD",
        "MerchantTxnID": "1203L.759",
        "Method": "PP"
    }
}

2. Response

{
    "ApiResultsList": [
        {
            "apiName": "westpac",
            "ApiResult": [
                {
                    "key": "providerStatusCode",
                    "value": "1019"
                },
                {
                    "key": "providerStatusMessage",
                    "value": "Original transaction not found"
                }
            ]
        }
    ],
    "Banks": null,
    "Country": null,
    "DocumentResults": null,
    "EmailChecks": null,
    "FraudChecks": null,
    "GeoChecks": null,
    "ProviderResps": {
        "ProviderResp": [
            {
                "ProviderName": "westpac",
                "ProviderOrder": "1",
                "ProviderResponseMessage": "Original transaction not found",
                "ResponseCode": "1019",
                "ResponseTimestamp": "03122017050122"
            }
        ]
    },
    "Result": {
        "Amount": "161000",
        "Currency": "AUD",
        "custom1": null,
        "custom2": null,
        "custom3": null,
        "custom4": null,
        "custom5": null,
        "MerchantID": "ANTERIOR001",
        "MerchantTxnID": "1203L.759",
        "PaymentID": "104549850",
        "ResponseCode": "1019",
        "ResponseMessage": "Original transaction not found",
        "ResponseTimestamp": "03122017050122"
    },
    "ShippingService": null,
    "TaxResultLines": null
}

@dmitrii_fediuk the only processor configured in CapturePayment process flow is Westpac so this is correct based on the configuration.

I have updated CapturePayment process flow to include a condition on PayPal.

@Steve_Rivas can you check the other process flows