mamekichi様、お返事ありがとうございます。
デバッグしてみました。
以下のような表示が出ました。
argv[0] = ‘php-cgiwrapd’
Executing ‘/usr/local/bin/php’
Output of script follows:
=====================================================
* About to connect() to api-3t.sandbox.paypal.com port 443 (#0)
* Trying 23.41.75.42… * connected
* Connected to api-3t.sandbox.paypal.com (23.41.75.42) port 443 (#0)
* successfully set certificate verify locations:
* CAfile: /usr/local/share/curl/curl-ca-bundle.crt
CApath: none
* SSL connection using RC4-SHA
* Server certificate:
* subject: /C=US/ST=CALIFORNIA/L=San Jose/O=PayPal, Inc./OU=Partner Support/CN=api-3t.sandbox.paypal.com
* start date: 2013-08-20 00:00:00 GMT
* expire date: 2015-08-21 23:59:59 GMT
* issuer: /C=US/O=VeriSign, Inc./OU=VeriSign Trust Network/OU=Terms of use at https://www.verisign.com/rpa (c)10/CN=VeriSign Class 3 Secure Server CA – G3
* SSL certificate verify ok.
> POST /nvp HTTP/1.1
Host: api-3t.sandbox.paypal.com
Accept: */*
Content-Length: 1130
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue
< HTTP/1.1 100 Continue
< HTTP/1.1 200 OK
< Server: Apache
< Content-Length: 136
< Content-Type: text/plain; charset=utf-8
< DC: origin2-api-3t.sandbox.paypal.com
< Date: Wed, 18 Dec 2013 14:34:06 GMT
< Connection: keep-alive
< Set-Cookie: DC=origin2-api-3t.sandbox.paypal.com; secure
<
* Connection #0 to host api-3t.sandbox.paypal.com left intact
* Closing connection #0
Status: 302 Moved Temporarily
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Location: https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=*******************&useraction=commit
Content-type: text/html
代引きは大丈夫でした。
注文、受注共に大丈夫でした。