Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Paypal Pro Error 10552 Invalid Configuration

    I am running Z.C 1.5.7 (not A,B, or C) with PHP 1.7.2. The PayPal module was not altered (stock)
    I initially set it up using old Paypal method but noticed that they are pushing for Clous Sandbox. So I created a sandbox account and generated an API, Username, Signature, etc.

    In my ZenCart setup, I enabled both Express and Pro payment module and update the settings accordingly. Unfortunately, each time I try to checkout, I get an error 10552 Invalid Configuration. So I double checked my settings in ZenCart and PayPal and also checked the files. I noticed that 1.5.7C has slight changes to Paypal Pro so I updated the Paypal Payment module with the new files but still get the same error



    I understand the module requires Curl which is indeed enabled on my server but I have to use a proxy server. So I tried by updated PayPal Curl file to include the Proxy server as below and still no luck.
    Code:
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $this->_endpoints[$this->_server]);
                                    curl_setopt($ch, CURLOPT_VERBOSE, 1);
                                    curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
                                    curl_setopt ($ch, CURLOPT_PROXY,"http://proxyserver.domain:port");
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
        curl_setopt($ch, CURLOPT_POSTFIELDS, $this->_buildNameValueList($values));
        foreach ($this->_curlOptions as $name => $value) {
          curl_setopt($ch, $name, $value);
        }
    I viewed the log files with and without proxy and they are identical.

    Code:
    Response: 
    Array
    (
        [TIMESTAMP] => 2021-08-04T15:36:06Z
        [CORRELATIONID] => 41eaad0664e08
        [ACK] => Failure
        [VERSION] => 124.0
        [BUILD] => 55025969
        [L_ERRORCODE0] => 10552
        [L_SHORTMESSAGE0] => Invalid Configuration
        [L_LONGMESSAGE0] => This transaction cannot be processed.
        [L_SEVERITYCODE0] => Error
        [AMT] => 1.00
        [CURRENCYCODE] => CAD
        [CURL_ERRORS] => 
    )
    Any thoughts?

  2. #2
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Paypal Pro Error 10552 Invalid Configuration

    I have done a curl test to sandbox from command line on server and I am able to communicate through CURL
    Code:
    curl https://api-3t.sandbox.paypal.com
    <?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="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:market="urn:ebay:apis:Market" xmlns:auction="urn:ebay:apis:Auction" xmlns:sizeship="urn:ebay:api:PayPalAPI/sizeship.xsd" xmlns:ship="urn:ebay:apis:ship" xmlns:skype="urn:ebay:apis:skype" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" id="_0"><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>End of file or no input: 'Invalid argument'</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

  3. #3
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Paypal Pro Error 10552 Invalid Configuration

    Quote Originally Posted by riomaha View Post
    I have done a curl test to sandbox from command line on server and I am able to communicate through CURL
    Code:
    curl https://api-3t.sandbox.paypal.com
    <?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="urn:oasis:names:tc:SAML:1.0:assertion" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:market="urn:ebay:apis:Market" xmlns:auction="urn:ebay:apis:Auction" xmlns:sizeship="urn:ebay:api:PayPalAPI/sizeship.xsd" xmlns:ship="urn:ebay:apis:ship" xmlns:skype="urn:ebay:apis:skype" xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:ns="urn:ebay:api:PayPalAPI"><SOAP-ENV:Body SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" id="_0"><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>End of file or no input: 'Invalid argument'</faultstring></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
    Code:
    curl -v -post https://api-3t.sandbox.paypal.com
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to api-3t.sandbox.paypal.com port 443 (#0)
    *   Trying 173.0.93.184...
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to api-3t.sandbox.paypal.com (173.0.93.184) port 443 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
      CApath: none
    * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
    * Server certificate:
    *       subject: CN=api.sandbox.paypal.com,O="PayPal, Inc.",L=San Jose,ST=California,C=US
    *       start date: Apr 16 00:00:00 2021 GMT
    *       expire date: Mar 30 23:59:59 2022 GMT
    *       common name: api.sandbox.paypal.com
    *       issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
    > GET / HTTP/1.1
    > User-Agent: curl/7.29.0
    > Host: api-3t.sandbox.paypal.com
    > Accept: */*
    >
    < HTTP/1.1 404 Not Found
    < Content-Type: text/xml; charset=utf-8
    < Content-Length: 1156
    < Connection: keep-alive
    < Date: Wed, 04 Aug 2021 16:25:22 GMT
    < Cache-Control: max-age=0, no-cache, no-store, must-revalidate
    < Paypal-Debug-Id: 761525bd09944
    < Strict-Transport-Security: max-age=31536000; includeSubDomains
    <
    { [data not shown]
    100  1156  100  1156    0     0   2485      0 --:--:-- --:--:-- --:--:--  2486
    * Connection #0 to host api-3t.sandbox.paypal.com left intact

  4. #4
    Join Date
    Oct 2013
    Location
    MTL
    Posts
    66
    Plugin Contributions
    2

    Default Re: Paypal Pro Error 10552 Invalid Configuration

    Quote Originally Posted by riomaha View Post
    Code:
    curl -v -post https://api-3t.sandbox.paypal.com
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* About to connect() to api-3t.sandbox.paypal.com port 443 (#0)
    *   Trying 173.0.93.184...
      0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to api-3t.sandbox.paypal.com (173.0.93.184) port 443 (#0)
    * Initializing NSS with certpath: sql:/etc/pki/nssdb
    *   CAfile: /etc/pki/tls/certs/ca-bundle.crt
      CApath: none
    * SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
    * Server certificate:
    *       subject: CN=api.sandbox.paypal.com,O="PayPal, Inc.",L=San Jose,ST=California,C=US
    *       start date: Apr 16 00:00:00 2021 GMT
    *       expire date: Mar 30 23:59:59 2022 GMT
    *       common name: api.sandbox.paypal.com
    *       issuer: CN=DigiCert SHA2 High Assurance Server CA,OU=www.digicert.com,O=DigiCert Inc,C=US
    > GET / HTTP/1.1
    > User-Agent: curl/7.29.0
    > Host: api-3t.sandbox.paypal.com
    > Accept: */*
    >
    < HTTP/1.1 404 Not Found
    < Content-Type: text/xml; charset=utf-8
    < Content-Length: 1156
    < Connection: keep-alive
    < Date: Wed, 04 Aug 2021 16:25:22 GMT
    < Cache-Control: max-age=0, no-cache, no-store, must-revalidate
    < Paypal-Debug-Id: 761525bd09944
    < Strict-Transport-Security: max-age=31536000; includeSubDomains
    <
    { [data not shown]
    100  1156  100  1156    0     0   2485      0 --:--:-- --:--:-- --:--:--  2486
    * Connection #0 to host api-3t.sandbox.paypal.com left intact

    Issue was on PayPal side. Account verification email wasn't being sent out.

 

 

Similar Threads

  1. 10501 Invalid Configuration Error??
    By gratifyingly me in forum Managing Customers and Orders
    Replies: 2
    Last Post: 9 May 2009, 05:21 AM
  2. Paypal error 10711 Invalid Data -- can't use website payments pro in spain
    By ahurt2000 in forum PayPal Website Payments Pro support
    Replies: 5
    Last Post: 12 Mar 2008, 06:52 PM
  3. Website Pro Error: Invalid Configuration
    By katrobb in forum PayPal Website Payments Pro support
    Replies: 6
    Last Post: 9 Mar 2008, 02:52 AM
  4. 10501 - Invalid Configuration with PayPal
    By Lead_Not_Follow in forum General Questions
    Replies: 1
    Last Post: 10 Jan 2008, 09:22 AM
  5. Field format error: Invalid Token payment paypal uk pro
    By herofit in forum Addon Payment Modules
    Replies: 2
    Last Post: 16 Jul 2007, 06:12 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR