Paypal sandbox PDT Fail 4020
问题 So, I've created a sandbox transaction and am trying to get the data for it on my thank you page. <?php $tx = $_REQUEST['tx']; $pdti = "REDACTED"; $url = "https://www.sandbox.paypal.com/cgi-bin/webscr"; $data = array("tx" => $tx, "at" => $pdti,"cmd" => "_notify-synch"); $options = array( "http" => array( "header" => "Content-type: application/x-www-form-urlencoded\r\n", "method" => "POST", "content" => http_build_query($data), ), ); $context = stream_context_create($options); $result = file