Commit Graph

230 Commits

Author SHA1 Message Date
japatel
5c2ee68648 Merge branch 'angelcoding-customcachepath' into 1.0.0-beta 2015-01-05 14:11:05 -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
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
d5450c64aa Merge branch '1.0.0-beta' of https://github.com/paypal/PayPal-PHP-SDK into 1.0.0-beta
Conflicts:
	lib/PayPal/Handler/OauthHandler.php
	lib/PayPal/Handler/RestHandler.php
2014-12-18 14:20:14 -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
29a8d8f50d 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-17 17:17:29 -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
39188ae395 Rolled back Functional Testing from Travis 2014-12-15 15:46:23 -06:00
japatel
989357fb02 Updated ExecuteAgreement to Get Agreement Object at the end 2014-12-15 15:42:58 -06:00
japatel
d24a4afdb6 Final Webhook Management API Changes
- Updated Samples
- Additional Functional Tests
- Enabled Travis to do functional tests (with allowed failures) on each build
2014-12-15 13:54:11 -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
japatel
d6575b49ae Functional Tests Improvements and Refactoring
- Updated Functional Tests to refactor common code in one file
- Re-sets the credentials to make sure previous tests doesnt change it for testing
2014-12-12 16:32:16 -06:00
Jay
4c52592709 Updated Sample index.php to proper format on htmlpreview 2014-12-09 23:02:21 -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
660070e3df Updated Create Plan sample with more explanations 2014-12-04 13:01:24 -06:00
Tom Whipple
6a399f6b3c remove broken badges 2014-12-03 14:24:52 -08: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
493c6f8531 Fixed a bug in README.md file
- Fixed #166
2014-11-22 22:17:00 -06:00
japatel
24e0609e5b Fixing Invoice Phone Attribute
- Also updated the Update Invoice Sample
2014-11-20 17:07:12 -06:00
japatel
b5809666b4 Updated Sample Home Page 2014-11-19 23:17:45 -06:00
japatel
f20fc4a85d Samples now uses built-in web server 2014-11-19 21:48:33 -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
f0ccc950ad Updated Samples 2014-11-18 11:46:13 -06:00
japatel
3fc0d34df3 Update Invoicing Samples 2014-11-17 21:20:29 -06:00
japatel
affd4dbd8f More Sample UI Changes
- Making it pretty
- Have a footer now, with links to useful data
2014-11-17 20:56:42 -06:00
japatel
f6947f3b06 Updated README.md to show better details with samples. 2014-11-17 13:48:21 -06:00
japatel
2c3f25bd29 Fixed Curl Options for NSS 2014-11-12 15:25:33 -06:00
japatel
dad86f2374 Updating Release Notes for Release 2014-11-12 09:39:49 -06:00
japatel
bbef3664c5 Adding resetRequestId in ApiContext to enable multiple create calls in succession 2014-11-12 09:26:16 -06:00
japatel
3c564dee77 Fixed the sample again 2014-11-11 16:30:21 -06:00