my debug code is :
Code: Select all
2014-10-21 22:38:06 - PayPal Express debug (Call data): {"METHOD":"SetExpressCheckout","MAXAMT":"687.50","RETURNURL":"http:\/\/www.example.com.au:\/index.php?route=payment\/pp_express\/checkoutReturn","CANCELURL":"http:\/\/www.example.com.au:\/index.php?route=checkout\/checkout","REQCONFIRMSHIPPING":0,"NOSHIPPING":1,"LOCALECODE":"EN","LANDINGPAGE":"Login","HDRIMG":null,"HDRBORDERCOLOR":"","HDRBACKCOLOR":"","PAYFLOWCOLOR":"","CHANNELTYPE":"Merchant","ALLOWNOTE":"0","PAYMENTREQUEST_0_SHIPPINGAMT":"","PAYMENTREQUEST_0_CURRENCYCODE":"USD","PAYMENTREQUEST_0_PAYMENTACTION":"Sale","L_PAYMENTREQUEST_0_DESC0":false,"L_PAYMENTREQUEST_0_NAME0":"Table6","L_PAYMENTREQUEST_0_NUMBER0":"S_Ta_6","L_PAYMENTREQUEST_0_AMT0":"400.00","L_PAYMENTREQUEST_0_QTY0":1,"L_PAYMENTREQUEST_0_ITEMURL0":"http:\/\/www.example.com.au:\/index.php?route=product\/product&product_id=59","L_PAYMENTREQUEST_0_ITEMWEIGHTVALUE0":"0.00","L_PAYMENTREQUEST_0_ITEMWEIGHTUNIT0":"kg","L_PAYMENTREQUEST_0_NUMBER1":"shipping","L_PAYMENTREQUEST_0_NAME1":"Flat Shipping Rate","L_PAYMENTREQUEST_0_AMT1":"150.00","L_PAYMENTREQUEST_0_QTY1":1,"PAYMENTREQUEST_0_ITEMAMT":"550.00","PAYMENTREQUEST_0_AMT":"550.00"}
2014-10-21 22:38:08 - PayPal Express debug (Result): "TIMESTAMP=2014%2d10%2d21T22%3a38%3a08Z&CORRELATIONID=106c4ef01470b&ACK=Failure&VERSION=65%2e2&BUILD=13443904&L_ERRORCODE0=10471&L_ERRORCODE1=10472&L_SHORTMESSAGE0=Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e&L_SHORTMESSAGE1=Transaction%20refused%20because%20of%20an%20invalid%20argument%2e%20See%20additional%20error%20messages%20for%20details%2e&L_LONGMESSAGE0=ReturnURL%20is%20invalid%2e&L_LONGMESSAGE1=CancelURL%20is%20invalid%2e&L_SEVERITYCODE0=Error&L_SEVERITYCODE1=Error"