Commit Graph

247 Commits

Author SHA1 Message Date
japatel
dd99971e50 Added an ability to provide Curl Options in Configuration
- Removed http.Retry, and http.ConnectionTimeout from configuration
- Added ability to provide Constant and its value in Configuration File
2015-01-10 21:04:24 -06:00
japatel
810fe7994c Updates to README and Release Notes 2015-01-10 17:28:59 -06:00
japatel
12421e09ea PayPal Model toJSON to determine encoding based on PHP Version
- Allows Preetifying JSON output
- toString prints a nice looking JSON now
2015-01-10 17:21:21 -06:00
japatel
932cc8f6bd Removing Duplicate Invoicing Classes
- As they were never used for anything, removing it without deprecating
2015-01-09 17:43:10 -06:00
japatel
f7cfd0faa9 Validation Package Testing
- Added More Unit Tests to Validation Classes
- Updated Logic accordingly
2015-01-09 16:56:38 -06:00
japatel
095ab24b62 Updated Invoice Object to retrieve payments and refunds
- getPaymentDetails is now getPayments
- getRefundDetails is now getRefunds
- Updated Sample to Get Invoice at the end of each operation
- Updated Tests
2015-01-09 16:56:00 -06:00
japatel
ebcfd28aef Cosmetic Changes to Sample UI
- Few more Patch Fixes on UI
2015-01-09 14:42:26 -06:00
japatel
291ce9c160 Updates to Future Payment Sample
- Renamed CorrelationId to ClientMetadataId
- Updated Source and Docs
2015-01-09 14:16:30 -06:00
japatel
e665662688 Cosmetic Changes to Sample UI
- Preetified it a bit
- Changed PayPal Logo to PayPal Developer
- Some CSS and JS changes
- Enabled Anchor Links for each sample
2015-01-09 14:03:20 -06:00
Jay
d907676944 Merge pull request #210 from paypal/1.0.0-beta
1.0.0
2015-01-08 23:09:52 -06:00
japatel
79eecb7100 Fix to Missing Test Model Class 2015-01-08 22:51:21 -06:00
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
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
japatel
c51c78a722 Fixes to Payout API Support Functional Tests 2015-01-05 13:31:22 -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
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