PayPal Checkout Failure Code results
Default PayPal Error Checkout failure
I added the code to the page, re-ran the process, and it generated this code:
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\XAMPP\htdocs\PowerStore3\checkout_failure.php:1 ) in C:\XAMPP\htdocs\PowerStore3\WA_eCart\WA_eCart_Defi nition_PHP.php on line 480
Express Authorize:
Full Request: <?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Header><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"><Credentials xmlns="urn:ebay:apis:eBLBaseComponents"><Username> xxxxxxxxxxx</Username><Password>xxxxxxxxxxx</Password><Signature>xxxxxxxxxxx</Signature><Subject/></Credentials></RequesterCredentials></soap:Header><soap:Body><SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"><SetExpressCheckout Request><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><SetExpressCheckoutRequestDetails xmlns="urn:ebay:apis:eBLBaseComponents"><OrderTota l currencyID="USD">6.50</OrderTotal><ReturnURL>http://localhost/PowerStore3/pp_confirm.php</ReturnURL><CancelURL>http://localhost/PowerStore3/pp_cancel.php</CancelURL><PaymentAction>Authorization</PaymentAction></SetExpressCheckoutRequestDetails></SetExpressCheckoutRequest></SetExpressCheckoutReq></soap:Body></soap:Envelope>
Full Response: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:cc="urn:ebay:apis:CoreComponentTypes" xmlns:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urnasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Header><Security xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext" xsi:type="wsse:SecurityType"></Security><RequesterCredentials xmlns="urn:ebay:api:PayPalAPI" xsi:type="ebl:CustomSecurityHeaderType"><Credentia ls xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:UserIdPasswordType"><Username xsi:type="xs:string"></Username><Password xsi:type="xs:string"></Password><Signature xsi:type="xs:string">michaelfetzer</Signature><Subject xsi:type="xs:string"></Subject></Credentials></RequesterCredentials></SOAP-ENV:Header><SOAP-ENV:Body id="_0"><SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"><Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2010-04-19T15:39:27Z</Timestamp><Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack><CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">8cee76c2c1 72d</CorrelationID><Errors xmlns="urn:ebay:apis:eBLBaseComponents" xsi:type="ebl:ErrorType"><ShortMessage xsi:type="xs:string">Security error</ShortMessage><LongMessage xsi:type="xs:string">Security header is not valid</LongMessage><ErrorCode xsi:type="xs:token">10002</ErrorCode><SeverityCode xmlns="urn:ebay:apis:eBLBaseComponents">Error</SeverityCode></Errors><Version xmlns="urn:ebay:apis:eBLBaseComponents">2.20</Version><Build xmlns="urn:ebay:apis:eBLBaseComponents">1252565</Build></SetExpressCheckoutResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Express Process:
Full Request: n/a
Full Response: n/a
Full Request: <?xml version="1.0"?><FDXRateRequest xmlns:api="http://www.fedex.com/fsmapi" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FDXRateRequest.xsd" ><RequestHeader><AccountNumber>267491429</AccountNumber><MeterNumber>0592521</MeterNumber><CarrierCode>FDXG</CarrierCode></RequestHeader><Service>FEDEX2DAY</Service><Packaging>YOURPACKAGING</Packaging><WeightUnits>LBS</WeightUnits><Weight>1.0</Weight><OriginAddress><StateOrProvinceCode>OR</StateOrProvinceCode><PostalCode>97217</PostalCode><CountryCode>US</CountryCode></OriginAddress><DestinationAddress><StateOrProvince Code>OR</StateOrProvinceCode><PostalCode>97266</PostalCode><CountryCode>US</CountryCode></DestinationAddress><Payment><PayorType>SENDER</PayorType></Payment><Dimensions><Length>12</Length><Width>12</Width><Height>12</Height><Units>IN</Units></Dimensions><DeclaredValue><Value>6.50</Value><CurrencyCode>USD</CurrencyCode></DeclaredValue><PackageCount>1</PackageCount></FDXRateRequest>
Full Response: <?xml version="1.0" encoding="UTF-8"?><FDXRateReply xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="FDXRateReply.xsd">< ReplyHeader></ReplyHeader><Error><Code>F821</Code><Message>Ground Service Type must be Ground Home Delivery or FedEx Ground</Message></Error></FDXRateReply>