Hello, I'm developing a new app that gets the transaction history of the PayPal account of our users. I've setup the Permission redirect and retrieved the access tokens. When I try to get the basic personal data, I get an internal error. The auth and signature seem to be fine, when I changed something in them, I get an authentication error. Does anyone know what the problem is with my request? * Hostname in DNS cache was stale, zapped
* Trying 173.0.82.89...
* TCP_NODELAY set
* Connected to svcs.sandbox.paypal.com (173.0.82.89) port 443 (#0)
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* SSL connection using TLSv1.2 / AES256-SHA256
* Server certificate:
* subject: businessCategory=Private Organization; 1.3.6.1.4.1.311.60.2.1.3=US; 1.3.6.1.4.1.311.60.2.1.2=Delaware; serialNumber=3014267; C=US; ST=California; L=San Jose; O=PayPal, Inc.; OU=PayPal Production; CN=svcs.sandbox.paypal.com
* start date: Sep 27 00:00:00 2018 GMT
* expire date: Sep 27 12:00:00 2020 GMT
* subjectAltName: host "svcs.sandbox.paypal.com" matched cert's "svcs.sandbox.paypal.com"
* issuer: C=US; O=DigiCert Inc; CN=DigiCert Global CA G2
* SSL certificate verify ok.
> GET /Permissions/GetBasicPersonalData HTTP/1.1
Host: svcs.sandbox.paypal.com
X-PAYPAL-AUTHORIZATION: token=<removed_token>,signature=<removed_signature>=,timestamp=1546088813
X-PAYPAL-APPLICATION-ID: <removed_app_id>
X-PAYPAL-REQUEST-DATA-FORMAT: JSON
X-PAYPAL-RESPONSE-DATA-FORMAT: JSON
User-Agent: GuzzleHttp/6.3.3 curl/7.50.2 PHP/7.1.25-1+ubuntu14.04.1+deb.sury.org+1
< HTTP/1.1 200 OK
< Date: Sat, 29 Dec 2018 13:06:54 GMT
< Server: Apache
< CACHE-CONTROL: no-cache
< X-PAYPAL-MESSAGE-PROTOCOL: NONE
< X-PAYPAL-RESPONSE-DATA-FORMAT: JSON
< X-EBAY-SOA-REQUEST-ID: 167fa131-7b30-a487-1b34-2dc4fffe0d2f!Permissions!10.72.113.179![]
< X-PAYPAL-OPERATION-NAME: GetBasicPersonalData
< X-PAYPAL-SERVICE-NAME: {http://svcs.paypal.com/types/perm}Permissions
< X-PAYPAL-SERVICE-VERSION: 1.0.0
< X-PAYPAL-ERROR-RESPONSE: TRUE
< Vary: Accept-Encoding
< HTTP_X_PP_AZ_LOCATOR: sandbox.slc
< Paypal-Debug-Id: c02f46079825
< Set-Cookie: X-PP-SILOVER=name%3DSANDBOX3.APIT.1%26silo_version%3D1880%26app%3Dpermissionsapiserv%26TIME%3D1852909404%26HTTP_X_PP_AZ_LOCATOR%3Dsandbox.slc; Expires=Sat, 29 Dec 2018 13:36:54 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
< Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
< Connection: close
< Transfer-Encoding: chunked
< Content-Type: application/json;charset=UTF-8
<
* Curl_http_done: called premature == 0
* Closing connection 0
Response:
object(stdClass) {
responseEnvelope => object(stdClass) {
timestamp => '2018-12-29T05:06:54.943-08:00'
ack => 'Failure'
correlationId => '396dce7d2e510'
build => '2210301'
}
error => [
(int) 0 => object(stdClass) {
errorId => '500000'
domain => 'PLATFORM'
subdomain => 'Application'
severity => 'Error'
category => 'Application'
message => 'Internal Error'
}
]
}
... View more