Commit Graph

127 Commits

Author SHA1 Message Date
Jay Patel
43d0e833f6 Reverted: Updates to API Urls
- api-s.sandbox.paypal.com is reverted to api.sandbox.paypal.com
- api-s.paypal.com was reverted to api.paypal.com
2015-02-19 16:10:56 -06:00
Jay Patel
d50d980cb8 Updates to API Urls
- api.sandbox.paypal.com was changed to api-s.sandbox.paypal.com
- api.paypal.com was changed to api-s.paypal.com
2015-02-12 15:20:45 -06:00
japatel
bba6f24491 Preparing for 1.2.0 release 2015-02-04 16:15:35 -06:00
japatel
47cd78172c Order API Support
- Added Order API Support
- Updated Sample Code to demonstrate
- Updated Sample Docs
- Fixes #237
2015-02-04 15:54:42 -06:00
japatel
217a54f0a6 Updates to Logging
- Logging Level DEBUG introduced
- Logging Level FINE deprecated to INFO
- Logging Level restricted to INFO in live environments
- Warning on using DEBUG in live environments
- Fixes #215. Not Entirely, but one step ahead
2015-02-04 15:52:34 -06:00
japatel
182060d0e8 More fixes to Vault APIs
- Updated Credit Card to use /credit-cards/* instead of /credit-card/*
2015-02-04 12:29:30 -06:00
japatel
ec46c397fe Adding Transaction Fee in Sale Object
- Updates to #232
2015-02-03 14:28:14 -06:00
japatel
7b811ffafe Merge branch 'transaction-fee-patch' of https://github.com/chaitanyakuber/PayPal-PHP-SDK into chaitanyakuber-transaction-fee-patch 2015-02-03 13:33:26 -06:00
japatel
0e9894b4c4 Fixes to Credit Card Update in Vault APIs
- Updated Samples
- Fixes #233
2015-02-03 13:10:32 -06:00
Chaitanya Kuber
58be8bd5d3 added transaction fee support to sale class 2015-02-03 12:19:34 +11:00
japatel
b28718027a Small Fixes
- PayoutItemDetails Errors
- Cleaning up CSS
2015-02-02 13:04:22 -06:00
japatel
ac69aa65ed Preparing for v1.1.1 release 2015-01-29 16:18:50 -06:00
japatel
b2bf7e4ef7 Fixes to Cipher Code
- Fixes #230 bug
2015-01-29 11:06:31 -06:00
japatel
192f16b542 Fixes to Json conversion logic for empty objects
- If the object is empty, an empty json object is generated on conversion
- Fixes #223
2015-01-27 12:35:57 -06:00
japatel
c269976b2d Preparing for Release 1.1.0 2015-01-26 13:55:21 -06:00
japatel
830cb16f0f Added Encryption to Caching
- Access Token is encrypted with Secret Key, and stored in file
- Code to auto-update existing cache files to use encrypted token
- Tests fixes accordingly
2015-01-26 13:38:17 -06:00
japatel
d84ddf85c9 Enabled Payout Cancel API for Unclaimed Payout Item
- PayoutItem supports [Cancel and Unclaimed Payout Item](https://developer.paypal.com/docs/api/#cancel-an-unclaimed-payout-item)
- Updated Unit and Functional Tests Accordingly
- Updated Samples accordingly
2015-01-23 13:50:51 -06:00
japatel
d9a5baf202 Fixes to Agreement Search Transaction TimeStamp Parameter
- Updated TimeUpdate parameter to TimeStamp
- Updated Tests accordingly.
- Updated Samples accordingly
- Fixes #221
2015-01-23 12:30:23 -06:00
japatel
4326394447 Fixes to Agreement Search Transaction
- Added searchTransactions method to include params
- Updated Tests accordingly.
- Updated Samples accordingly
2015-01-20 10:46:22 -06:00
japatel
baf06a66be Updated OAuthToken to throw proper error on not receiving access token
- Updated Samples, Tests
2015-01-14 00:15:34 -06:00
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
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
291ce9c160 Updates to Future Payment Sample
- Renamed CorrelationId to ClientMetadataId
- Updated Source and Docs
2015-01-09 14:16:30 -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
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