List of PayPal transactions

前端 未结 3 2010
猫巷女王i
猫巷女王i 2020-12-09 11:05

Here\'s the setup:

I have a site setup for a client. The customer:

  1. Visits the site
  2. Enters in basic information for our records
  3. Procee
3条回答
  •  情话喂你
    2020-12-09 11:32

    Ok, so I finally was able to develop something that works. The code is posted below with a link to the TransactionSearch API options from PayPal

    https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/TransactionSearch_API_Operation_NVP/

        urldecode($temp["L_TIMESTAMP".$i]),
            "timezone"          =>    urldecode($temp["L_TIMEZONE".$i]),
            "type"              =>    urldecode($temp["L_TYPE".$i]),
            "email"             =>    urldecode($temp["L_EMAIL".$i]),
            "name"              =>    urldecode($temp["L_NAME".$i]),
            "transaction_id"    =>    urldecode($temp["L_TRANSACTIONID".$i]),
            "status"            =>    urldecode($temp["L_STATUS".$i]),
            "amt"               =>    urldecode($temp["L_AMT".$i]),
            "currency_code"     =>    urldecode($temp["L_CURRENCYCODE".$i]),
            "fee_amount"        =>    urldecode($temp["L_FEEAMT".$i]),
            "net_amount"        =>    urldecode($temp["L_NETAMT".$i]));
    }
    ?>
    

    Also, I came up with this nifty little, simple script to get more details about a particular transaction:

    https://developer.paypal.com/webapps/developer/docs/classic/api/merchant/GetTransactionDetails_API_Operation_NVP/

     $value){
        echo $key.' => '.$value."
    "; } ?>

提交回复
热议问题