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 .

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

报告相同问题?

悬赏问题

  • ¥15 请问如何在openpcdet上对KITTI数据集的测试集进行结果评估?
  • ¥15 powerbuilder中的datawindow数据整合到新的DataWindow
  • ¥20 有人知道这种图怎么画吗?
  • ¥15 pyqt6如何引用qrc文件加载里面的的资源
  • ¥15 安卓JNI项目使用lua上的问题
  • ¥20 RL+GNN解决人员排班问题时梯度消失
  • ¥60 要数控稳压电源测试数据
  • ¥15 能帮我写下这个编程吗
  • ¥15 ikuai客户端l2tp协议链接报终止15信号和无法将p.p.p6转换为我的l2tp线路
  • ¥15 phython读取excel表格报错 ^7个 SyntaxError: invalid syntax 语句报错