0
我在我的web應用中使用Paypal
DoDirectPayment
(沙箱)。 當我輸入錯誤的信用卡信息,時間API返回ACK狀態,也響應正文。在故障時間如果支付成功,DoDirectPayment沒有返回響應
響應*
Array ( [TIMESTAMP] => 2014-02-27T08:41:33Z [CORRELATIONID] => sdsfsd3534 [ACK] => Failure [VERSION] => 100.000 [BUILD] => 5645654 [L_ERRORCODE0] => 10002 [L_SHORTMESSAGE0] => Security error [L_LONGMESSAGE0] => Security header is not valid [L_SEVERITYCODE0] => Error [ERRORS] => Array ( error array ) [REQUESTDATA] => Array ( /* REQUEST DATA details */ ) [RAWREQUEST] => /* RAWREQUEST */ [RAWRESPONSE] => TIMESTAMP=2014%2d02%2d27T08%3a41%3a33Z&CORRELATIONID=XXXXXXXXXXXXXX&ACK=Failure&VERSION=XXXXXXX&BUILD=XXXXXXXX&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error
)
但是當支付成功
Array
(
[ERRORS] => Array
(
empty
)
[REQUESTDATA] => Array
(
/* REQUEST DATA details */
)
[RAWREQUEST] => ' ..... '
[RAWRESPONSE] => ?????? /* empty/blank */
)
什麼問題吧。