Commit Graph

101 Commits

Author SHA1 Message Date
japatel
88aac05f04 Documentation Updates and Minor Refactoring
- Updated README and Release Notes
- Updated PayPal Constant to reflect latest release
2015-01-08 22:26:26 -06:00
japatel
0b43d599c4 Proper Error Message for Missing Type in Getter for PayPalModel
- If missing annotation of return type in Getters, it throws a proper exception
- Improves #201
2015-01-08 22:25:40 -06:00
japatel
b011d17cde Removed Deprecated Getter and Setters
- Removed Deprecated Getter Setters from all Model Classes
- All Camelcase getters and setters are removed. Please use first letter uppercase syntax
- E.g. instead of using get_notify_url(), use getNotifyUrl() instead
2015-01-08 22:23:58 -06:00
Jay
ed2a4fd41e Merge pull request #203 from paypal/Payouts
Enabled Payout API Support
2015-01-08 14:22:09 -06:00
japatel
2cd71ea190 Refactored Authorization Cache
- Updated Authorization Cache Common Code
- Unit Tests
2015-01-05 14:10:42 -06:00
japatel
8f312a108a Merge branch 'customcachepath' of git://github.com/angelcoding/PayPal-PHP-SDK into angelcoding-customcachepath 2015-01-05 13:32:23 -06:00
Steve Angel
f29c627466 Added Custom Cache Directory Option 2015-01-05 16:54:43 +00:00
japatel
6f13399e47 Enabled Payout API Support
- Includes Unit and Functional Tests
- Includes Samples
2015-01-02 16:41:36 -06:00
japatel
9e7cb951a6 Authorization Cache to use both boolean and string in configuration
- both true and 'true' will enable authorization cache
2014-12-22 14:13:08 -06:00
japatel
d69ecbc170 Authorization Cache to use both boolean and string in configuration
- both true and 'true' will enable authorization cache
2014-12-22 14:09:48 -06:00
japatel
f03c2f893c Updated Release Notes and User Agent Version 2014-12-18 15:59:41 -06:00
japatel
2d5c6d3266 Moved APPROVAL_URL Constant to PayPalConstant class
- Improvement to #195
2014-12-18 15:44:47 -06:00
japatel
f090642fae Helper Function to Retrieve Specific Link from Model Object
- Helper Methods in Payment and Agreement to get ApprovalLink
- Fixes #195
2014-12-18 15:41:11 -06:00
japatel
9c0827643b Renaming Namespaces and Organizing Classes
- Updated OpenId classes to be in API namespace
- Updated PP Naming Convention to PayPal Naming Convention
- FormatConverter Class got its own namespace
- Handlers are grouped in Handler namespace
- Samples and Tests Updated Accordingly
2014-12-18 14:16:41 -06:00
japatel
4cb951f8b2 Defaulting Mode to Sandbox
- Eliminate the need to define config for mode
2014-12-18 14:04:19 -06:00
japatel
20038e7525 Configurable Headers for All Requests to PayPal
- Allows adding additional headers to every call to PayPal APIs.
- Refactored OAuthTokenCredential to share code for making Rest Calls
- SDK Config to add headers with http.headers.* syntax
- Fixes #193
2014-12-17 15:37:34 -06:00
japatel
515b747223 Added Update Method in Payment
- Payment allows update calls with patch requests
- Samples to demonstrate its abilities
2014-12-17 12:47:22 -06:00
japatel
fb9584ba66 More Webhook API Changes
- Updated API Models with Fixes
- Updated Samples
- Additional Functional Tests
2014-12-12 17:00:33 -06:00
Jay
bb11ace7ad Made the docblock Transactions to use Transaction[]
- Fixes #183
2014-12-09 20:33:08 -06:00
japatel
bc47413c2a Reverting class attribute usage to make it work with PHP 5.3
- Updated #171 to make it work with PHP 5.3 or lower
2014-12-08 17:46:26 -06:00
japatel
1406ef91da Use class attribute than hard coded string
- Improved #171 fix
2014-12-08 17:14:19 -06:00
japatel
7c4a16ca3d Updated FormatConverter to Format Price based on Currency (if provided)
- Fixes #176 Issue
- Renamed formatToTwoDecimalPlaces to formatToNumber
2014-12-08 17:11:33 -06:00
japatel
8bb80cb843 Returns False on Validation for Access Modifier on generic PPModel object
- Fixes #171 Issue
2014-12-08 11:01:41 -06:00
japatel
95c097bc7b Auto-generated code for Webhooks API 2014-12-04 20:18:34 -06:00
japatel
ddd1a2ddf6 Enabled Caching of Access Tokens
- Updated AuthTokenCredential to store access token in file storage
- Updated samples to include the configuration to disable/enable caching
2014-12-02 14:53:14 -06:00
japatel
6cf15ab4bf More Vault API Samples
- Updated Samples for Vault APIs
- Updated Payment Execute to be more verbose
- Delete Plan Sample Update
- Fixes #168
2014-12-01 17:51:08 -06:00
japatel
ff5588bbfe Updated Billing Plan to have Delete Plan sample code.
- Added helper method in Plan.php to allow deleting a billing plan
- Fixes #171
2014-12-01 13:20:36 -06:00
japatel
24e0609e5b Fixing Invoice Phone Attribute
- Also updated the Update Invoice Sample
2014-11-20 17:07:12 -06:00
japatel
026802443d Unit Tests and Functional Tests for Invoicing
- Updated Unit Tests for PPModels used by Invoicing
- Updated Functional Tests
- Updated Samples for quick changes.
2014-11-19 15:21:18 -06:00
japatel
ef4797a94c Getting it ready for release
- Updated User Agent Version
- Updated Release Notes
2014-11-19 12:34:10 -06:00
japatel
919e5af2ba Removed Mandate on CorelationId from Future Payment
- Removed backward compatibility on headers.
- Only sends 'Paypal-Application-Correlation-Id' instead of 'PAYPAL-CLIENT-METADATA-ID'
2014-11-19 12:16:41 -06:00
japatel
eb6eb47336 Samples for All Invoice Operations including QR Code
- Invoice search method is static now
- Shipping Info has proper Phone Params
- Small Changes to Image Class
- Updated Sample Docs
2014-11-19 12:15:35 -06:00
japatel
383d12622b More Invoice API Updates 2014-11-18 16:50:57 -06:00
japatel
e6fb968509 First Update on Invoicing APIs 2014-11-18 12:12:35 -06:00
japatel
2c3f25bd29 Fixed Curl Options for NSS 2014-11-12 15:25:33 -06:00
japatel
bbef3664c5 Adding resetRequestId in ApiContext to enable multiple create calls in succession 2014-11-12 09:26:16 -06:00
japatel
9d14e2c974 Updated HttpConfig to use TLSv1 as Cipher List
- Updated PPHttpConfig.php with Cipher List
- Updated Lipp Samples to use proper namespaces. Fixes #156
- Few UI Fixes
2014-11-11 16:13:18 -06:00
japatel
d5f9b1d43c Fixed Bug in PPModel when empty json string is returned 2014-11-06 00:10:09 -06:00
japatel
f997f3277e Updated User Agent & More Samples for Billing Plans
- Fixed versioning in User Agent.
- Updated Billing Plan sample to update Payment definitions
- Docs & Tests
2014-11-05 13:30:28 -06:00
japatel
d11533110b Sanitize Input for Price Variables
- Updated the model to automatically format the price
- Updated the samples to reflect the new changes
- More Unit Tests
2014-11-03 16:31:03 -06:00
japatel
3c02790138 Updates to Sample Code
- Updated UI Presentation on samples
- Fixed Bugs
2014-11-02 18:22:35 -06:00
japatel
4d481ad104 Enabled Billing Plans and Agreements APIs
- Added API Classes, Samples, and Tests
- Updated Functional Tests
- Updated Documentation with new SDK Name
- Updated Few Samples to use newer nicer result page
2014-10-31 13:53:42 -05:00
japatel
f55fd3d984 Fixed Double JSON Encoding
- Updated PPModel to not double encode urls in Json String.
2014-10-24 14:59:00 -05:00
stalesha
3b931cc76c Fix Fatal error with double slash
PHP Fatal error:  Class '\\PayPal\Api\Payment' not found in rest-api-sdk-php/lib/PayPal/Common/PPModel.php on line 16
2014-10-23 15:15:45 +04:00
japatel
1de6085857 Fixing the Address Phone annotations 2014-10-22 15:20:56 -05:00
japatel
6fb6508f9c Backward Compatible Changes 2014-10-20 15:54:09 -05:00
spezi|Fanta
2fb68e8a7a Fixes PHP 5.3 Support
Using short array syntax breaks the support of PHP 5.3.
2014-10-20 15:54:09 -05:00
japatel
84660cbb2a Updates to LIPP & Future Payments
- Updated LIPP Sample code
- Updated Future Payments to have helper functions for retrieving access token
- Updated Logging Syntax to include timestamp and response json
2014-10-20 12:04:41 -05:00
Philippe Gerber
f1a089e54c \PayPal\Api\Invoice: Added missing $headers argument in \PayPal\Common\ResourceModel::executeCall() calls 2014-10-15 22:29:20 +02:00
Philippe Gerber
adbbd3281d \PayPal\Api\Invoice: Added missing $headers argument in \PayPal\Common\ResourceModel::executeCall() calls 2014-10-15 22:18:37 +02:00