Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/codeigniter/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 使用agelleye创建paypal发票:错误52002_Php_Codeigniter_Paypal - Fatal编程技术网

Php 使用agelleye创建paypal发票:错误52002

Php 使用agelleye创建paypal发票:错误52002,php,codeigniter,paypal,Php,Codeigniter,Paypal,当我尝试创建并发送发票时,我从PayPal收到一个错误52002-内部错误。 我可以用ci merchant,但不能用Angeleye(用于codeigniter)。当我尝试创建它时,会出现以下错误: <?xml version="1.0" encoding="utf-8"?> <CreateAndSendInvoiceRequest xmlns="http://svcs.paypal.com/types/ap"> <requestEnvelope xmln

当我尝试创建并发送发票时,我从PayPal收到一个错误52002-内部错误。 我可以用ci merchant,但不能用Angeleye(用于codeigniter)。当我尝试创建它时,会出现以下错误:

<?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>

返回所有
恩努斯
lalanzaos@gmail.com
oscar73@gmail.com
习惯用语分类(EspaÃol)
直径/秒:2014-08-08
2014-08-22
111
美元
2014-08-22
2014-08-22
Angeleye_博士班
2014-08-22T04:12:25.170-07:00
失败
87f10d36a1e29
11737381
520002
站台
应用
错误
应用
内部错误

似乎没有正确传递日期格式。它应该如下所示:

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

<dueDate xmlns="">2014-08-24T22:33:35</dueDate>
2014-08-23T22:33:35
2014-08-24T22:33:35
它应该可以很好地使用这种格式