Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Jan-30-2018
Vitthal
Vitthal Contributor
Contributor
6
Posts
0
Kudos
0
Solutions
Your PayPal Anniversary
The Return
Organized
Ice Breaker
Active
View all
Latest Contributions by Vitthal
  • Topics Vitthal has Participated In
  • Latest Contributions by Vitthal

Re: Why am I getting 10400 error

by Vitthal Contributor in NVP/SOAP APIs
‎Feb-01-2018 04:45 AM
‎Feb-01-2018 04:45 AM
Hi, the issue is resolved.    Thanks. ... View more

Re: ErrorCode 10002, Security Header is not valid.

by Vitthal Contributor in Sandbox Environment
‎Jan-31-2018 08:24 AM
‎Jan-31-2018 08:24 AM
Hi Justin, The API credentials work fine when I use it in a SOAP request. But in NVP, I tried different ways to use these credentials, through Postman client and browser too, but no luck. Can you pls confirm whether I need to pass these credentials as parameters in the url along with other parameters, as mentioned above, or do I need to pass them in request headers? Also the PayPal documentation doesn’t have any details about how to use API credentials for NVP format. Thanks, Vitthal ... View more

ErrorCode 10002, Security Header is not valid.

by Vitthal Contributor in Sandbox Environment
‎Jan-30-2018 11:37 PM
‎Jan-30-2018 11:37 PM
Hi, I am trying to integrate PayPal with IBM WCS9 using a Sandbox account. I am trying to retrieve token using SetExpressCheckout API, but getting 10002 error. Below are the details. Kindly help.   URL: https://api-3t.sandbox.paypal.com/nvp?METHOD=SetExpressCheckout&RETURNURL=http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack&CANCELURL=http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack&CURRENCYCODE=USD&AMT=135&PAYMENTACTION=Sale&PAYMENTREQUEST_0_AMT=135&username=vitthal.salgond_api1.gmail.com&password=S3BYSFMBWRRBP97N&signature=AkBCWwJjcyKOPZf2.uCZN4x8i7TfACO96u4ZQ9w4QvZQyilx-XPmGinW   Response:  TIMESTAMP=2018%2d01%2d31T07%3a07%3a50Z&CORRELATIONID=528451eabf4c0&ACK=Failure&VERSION=0%2e000000&BUILD=43109726&L_ERRORCODE0=10002&L_SHORTMESSAGE0=Security%20error&L_LONGMESSAGE0=Security%20header%20is%20not%20valid&L_SEVERITYCODE0=Error   ... View more

Why am I getting 10400 error

by Vitthal Contributor in NVP/SOAP APIs
‎Jan-30-2018 09:38 PM
‎Jan-30-2018 09:38 PM
I am integrating PayPal with IBM WCS9 using paypal sandbox account. I am using SOAPUI to test the SetExpressCheckout API. In spite of providing all required fields, I am getting error OrderTotal missing. (ErrorCode 10400). please help. Below are the details.   Soap endpoint url: https://api-3t.sandbox.paypal.com/nvp Request:  <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"> <Credentials xmlns="urn:ebay:apis:eBLBaseComponents"> <Username>vitthal.salgond_api1.gmail.com</Username> <Password>S3BYSFMBWRRBP97N</Password> <Signature>AkBCWwJjcyKOPZf2.uCZN4x8i7TfACO96u4ZQ9w4QvZQyilx-XPmGinW</Signature> <Subject/> </Credentials> </RequesterCredentials> </SOAP-ENV:Header> <SOAP-ENV:Body> <SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"> <SetExpressCheckoutRequest> <Version xmlns="urn:ebay:apis:eBLBaseComponents">1.0</Version> <SetExpressCheckoutRequestDetails> <ReturnURL>http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack</ReturnURL> <CancelURL>http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack</CancelURL> <CURRENCYCODE>USD</CURRENCYCODE> <AMT>135.0</AMT> <PAYMENTACTION>Sale</PAYMENTACTION> <PAYMENTREQUEST_0_AMT>135</PAYMENTREQUEST_0_AMT> <PAYMENTDETAILS> <OrderTotal>135.0</OrderTotal> </PAYMENTDETAILS> </SetExpressCheckoutRequestDetails> </SetExpressCheckoutRequest> </SetExpressCheckoutReq> </SOAP-ENV:Body> </SOAP-ENV:Envelope>   Response: <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:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis: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:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"> <SOAP-ENV:Header> <Security xsi:type="wsse:SecurityType" xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext"/> <RequesterCredentials xsi:type="ebl:CustomSecurityHeaderType" xmlns="urn:ebay:api:PayPalAPI"> <Credentials xsi:type="ebl:UserIdPasswordType" xmlns="urn:ebay:apis:eBLBaseComponents"> <Username xsi:type="xs:string"/> <Password xsi:type="xs:string"/> <Signature xsi:type="xs:string"/> <Subject xsi:type="xs:string"/> </Credentials> </RequesterCredentials> </SOAP-ENV:Header> <SOAP-ENV:Body id="_0"> <SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"> <Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2018-01-30T13:38:53Z</Timestamp> <Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack> <CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">d292e0ed1828c</CorrelationID> <Errors xsi:type="ebl:ErrorType" xmlns="urn:ebay:apis:eBLBaseComponents"> <ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage> <LongMessage xsi:type="xs:string">Order total is missing.</LongMessage> <ErrorCode xsi:type="xs:token">10400</ErrorCode> <SeverityCode>Error</SeverityCode> </Errors> <Version xmlns="urn:ebay:apis:eBLBaseComponents">1.0</Version> <Build xmlns="urn:ebay:apis:eBLBaseComponents">43109726</Build> </SetExpressCheckoutResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ... View more

Re: Why I am getting 10400 error

by Vitthal Contributor in About Payments
‎Jan-30-2018 09:34 PM
‎Jan-30-2018 09:34 PM
Sure, thanks! ... View more

Why I am getting 10400 error

by Vitthal Contributor in About Payments
‎Jan-30-2018 05:56 AM
‎Jan-30-2018 05:56 AM
I am integrating PayPal with IBM WCS9 using paypal sandbox account. I am using SOAPUI to test the SetExpressCheckout API. In spite of providing all required fields, I am getting error OrderTotal missing. (ErrorCode 10400). please help. Below are the details.   Soap endpoint url: https://api-3t.sandbox.paypal.com/nvp Request:  <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Header> <RequesterCredentials xmlns="urn:ebay:api:PayPalAPI"> <Credentials xmlns="urn:ebay:apis:eBLBaseComponents"> <Username><removed></Username> <Password><removed></Password> <Signature><removed></Signature> <Subject/> </Credentials> </RequesterCredentials> </SOAP-ENV:Header> <SOAP-ENV:Body> <SetExpressCheckoutReq xmlns="urn:ebay:api:PayPalAPI"> <SetExpressCheckoutRequest> <Version xmlns="urn:ebay:apis:eBLBaseComponents">1.0</Version> <SetExpressCheckoutRequestDetails> <ReturnURL>http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack</ReturnURL> <CancelURL>http%3A%2F%2Flocalhost%2Fwebapp%2Fwcs%2Fstores%2Fservlet%2FPunchoutPaymentCallBack</CancelURL> <CURRENCYCODE>USD</CURRENCYCODE> <AMT>135.0</AMT> <PAYMENTACTION>Sale</PAYMENTACTION> <PAYMENTREQUEST_0_AMT>135</PAYMENTREQUEST_0_AMT> <PAYMENTDETAILS> <OrderTotal>135.0</OrderTotal> </PAYMENTDETAILS> </SetExpressCheckoutRequestDetails> </SetExpressCheckoutRequest> </SetExpressCheckoutReq> </SOAP-ENV:Body> </SOAP-ENV:Envelope>   Response: <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:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility" xmlns:saml="urn:oasis: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:ed="urn:ebay:apis:EnhancedDataTypes" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"> <SOAP-ENV:Header> <Security xsi:type="wsse:SecurityType" xmlns="http://schemas.xmlsoap.org/ws/2002/12/secext"/> <RequesterCredentials xsi:type="ebl:CustomSecurityHeaderType" xmlns="urn:ebay:api:PayPalAPI"> <Credentials xsi:type="ebl:UserIdPasswordType" xmlns="urn:ebay:apis:eBLBaseComponents"> <Username xsi:type="xs:string"/> <Password xsi:type="xs:string"/> <Signature xsi:type="xs:string"/> <Subject xsi:type="xs:string"/> </Credentials> </RequesterCredentials> </SOAP-ENV:Header> <SOAP-ENV:Body id="_0"> <SetExpressCheckoutResponse xmlns="urn:ebay:api:PayPalAPI"> <Timestamp xmlns="urn:ebay:apis:eBLBaseComponents">2018-01-30T13:38:53Z</Timestamp> <Ack xmlns="urn:ebay:apis:eBLBaseComponents">Failure</Ack> <CorrelationID xmlns="urn:ebay:apis:eBLBaseComponents">d292e0ed1828c</CorrelationID> <Errors xsi:type="ebl:ErrorType" xmlns="urn:ebay:apis:eBLBaseComponents"> <ShortMessage xsi:type="xs:string">Transaction refused because of an invalid argument. See additional error messages for details.</ShortMessage> <LongMessage xsi:type="xs:string">Order total is missing.</LongMessage> <ErrorCode xsi:type="xs:token">10400</ErrorCode> <SeverityCode>Error</SeverityCode> </Errors> <Version xmlns="urn:ebay:apis:eBLBaseComponents">1.0</Version> <Build xmlns="urn:ebay:apis:eBLBaseComponents">43109726</Build> </SetExpressCheckoutResponse> </SOAP-ENV:Body> </SOAP-ENV:Envelope> ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros