dsp15140275697 2014-08-22 11:50
浏览 44
已采纳

使用agelleye创建paypal发票:错误520002

i get an error, 520002 - Internal Error from PayPal, when I try to create and send an invoice. I can do it with ci-merchant but no with angelleye (for codeigniter). When I try to create it I get this errors:

<?xml version="1.0" encoding="utf-8"?>
<CreateAndSendInvoiceRequest xmlns="http://svcs.paypal.com/types/ap">
    <requestEnvelope xmlns="">
        <detailLevel>ReturnAll</detailLevel>
        <errorLanguage>en_US</errorLanguage>
    </requestEnvelope>
    <invoice xmlns="">
        <merchantEmail xmlns="">lalanzaos@gmail.com</merchantEmail>
        <payerEmail xmlns="">oscar73@gmail.com</payerEmail>
        <itemList xmlns="">
            <item xmlns="">
                <name xmlns="">Clases de idiomas (Español)</name>
                <description xmlns="">Dia/s: 2014-08-08</description>
                <date xmlns="">2014-08-22</date>
                <quantity xmlns="">1</quantity><unitPrice xmlns="">11.00</unitPrice>
            </item>
        </itemList>
        <currencyCode xmlns="">USD</currencyCode>
        <invoiceDate xmlns="">2014-08-22</invoiceDate>
        <dueDate xmlns="">2014-08-22</dueDate>
        <referrerCode xmlns="">AngellEYE_PHPClass</referrerCode>
    </invoice>
</CreateAndSendInvoiceRequest>




<?xml version='1.0' encoding='UTF-8'?>
<ns3:FaultMessage xmlns:ns3="http://svcs.paypal.com/types/common" xmlns:ns2="http://svcs.paypal.com/types/pt">
    <responseEnvelope>
        <timestamp>2014-08-22T04:12:25.170-07:00</timestamp>
        <ack>Failure</ack>
        <correlationId>87f10d36a1e29</correlationId>
        <build>11737381</build>
    </responseEnvelope>
    <error>
        <errorId>520002</errorId>
        <domain>PLATFORM</domain>
        <subdomain>Application</subdomain>
        <severity>Error</severity>
        <category>Application</category>
        <message>Internal Error</message>
    </error>
</ns3:FaultMessage>
  • 写回答

1条回答 默认 最新

  • dougong1031 2014-08-22 20:41
    关注

    It seems that the date format is not being correctly passed . It should be like below :

    <invoiceDate xmlns="">2014-08-23T22:33:35</invoiceDate>
    
    <dueDate xmlns="">2014-08-24T22:33:35</dueDate>
    

    It should be working fine with this formatting .

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥35 平滑拟合曲线该如何生成
  • ¥100 c语言,请帮蒟蒻写一个题的范例作参考
  • ¥15 名为“Product”的列已属于此 DataTable
  • ¥15 安卓adb backup备份应用数据失败
  • ¥15 eclipse运行项目时遇到的问题
  • ¥15 关于#c##的问题:最近需要用CAT工具Trados进行一些开发
  • ¥15 南大pa1 小游戏没有界面,并且报了如下错误,尝试过换显卡驱动,但是好像不行
  • ¥15 自己瞎改改,结果现在又运行不了了
  • ¥15 链式存储应该如何解决
  • ¥15 没有证书,nginx怎么反向代理到只能接受https的公网网站