delmicio / php-paypal-nvp
v0.1.1
2017-03-31 14:36 UTC
Requires
- php: >=5.3.29
This package is not auto-updated.
Last update: 2025-05-22 22:46:30 UTC
README
This provides very simple access to PayPal's NVP API.
PayPal NVP API: https://developer.paypal.com/docs/classic/api/NVPAPIOverview/
Use:
use delmicio\PayPal; $paypal = new PayPal( 'username-facilitator_api1.site.com', // API USER 'HTPZYVF3YXFYAXXX', // API PWD (password) 'AFcWxV21C7fd0v3bYYYRCpSSRl31An.zpkEbPtDU3TXXXXXXXXXX', // API SIGNATURE true // SANDBOX API ); $STARTDATE = date(DATE_ATOM, strtotime('-1 year')); $fields = array( "STARTDATE" => $STARTDATE ); // https://developer.paypal.com/docs/classic/api/merchant/TransactionSearch_API_Operation_NVP/ $result = $paypal->TransactionSearch($fields); echo '<pre>'.var_export($result, true).'</pre>'; die();