3

我已经成功授权了一张卡,它显示在我的沙盒交易日志中。当我尝试使用该授权(使用使用 SOAP 的 activemerchant)进行捕获时,这是它发送到服务器的 XML:

<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
    <env:Header>
        <RequesterCredentials xmlns:n1="urn:ebay:apis:eBLBaseComponents" xmlns="urn:ebay:api:PayPalAPI" env:mustUnderstand="0">
            <n1:Credentials>
                <Username>seller_1249669053_per_api1.synergyeoc.com</Username>
                <Password>snip</Password>
                <Subject/>
            </n1:Credentials>
        </RequesterCredentials>
    </env:Header>
    <env:Body>
        <DoCaptureReq xmlns="urn:ebay:api:PayPalAPI">
            <DoCaptureRequest xmlns:n2="urn:ebay:apis:eBLBaseComponents">
                <n2:Version>52.0</n2:Version>
                <AuthorizationID>0RF01309N5838270B</AuthorizationID>
                <Amount currencyID="USD">2600.00</Amount>
                <CompleteType>Complete</CompleteType>
                <Note/>
            </DoCaptureRequest>
        </DoCaptureReq>
    </env:Body>
</env:Envelope>

Paypal 返回如此描述性的 10001“内部错误”。谁能发现这里不正确的地方?

只是为了好玩,以下是 ActiveMerchant 解析为来自贝宝的响应:

=> #<ActiveMerchant::Billing::Response:0x3e00698 @params={"payment_status"=>"None", "correlation_id"=>"a188cc8c5f94c", "timestamp"=>"2009-08-11T06:21:22Z", "pending_reason"=>"none", "build"=>"997644", "transaction_type"=>"none", "error_codes"=>"10001", "version"=>"52.0", "ack"=>"Failure", "message"=>"Internal Error", "reason_code"=>"none", "payment_type"=>"none"}, @test=true, @authorization=nil, @cvv_result={"code"=>nil, "message"=>nil}, @message="Internal Error", @success=false, @fraud_review=false, @avs_result={"code"=>nil, "postal_match"=>nil, "street_match"=>nil, "message"=>nil}>

如果有人可以提供帮助,我会很高兴的!!!

4

2 回答 2

5

使用非标准信用卡号。

我使用标准信用卡号“4111111111111111”并收到 10001 错误。

使用“4024007148673576”,它对我有用。

于 2011-05-27T17:22:09.517 回答
1

我所拥有的只是长远的可能性。

在您授权后,界面可能会因未通知的原因而关闭。类似的事情发生在 3 号,返回 10001s。

可能与https://ppmts.custhelp.com/cgi-bin/ppdts.cfg/php/enduser/std_adp.php?p_faqid=169有关

我也会尝试用少量重新授权,但如果这是问题所在,它应该会给出不同的错误。

虽然如果身份验证成功应该不会有什么不同,但您还没有向我们展示授权交易。

于 2009-08-12T04:56:47.180 回答