diff --git a/.travis.yml b/.travis.yml index 53a172e..43fe4ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,13 @@ php: - 5.5 - 5.6 - hhvm +env: + - REST_MODE=mock + - REST_MODE=sandbox matrix: allow_failures: - php: hhvm + - env: REST_MODE=sandbox fast_finish: true before_script: - composer self-update diff --git a/release_notes.md b/release_notes.md index 8e0c99f..c9a4989 100644 --- a/release_notes.md +++ b/release_notes.md @@ -2,6 +2,7 @@ PayPal PHP SDK release notes ============================ v0.16.0 ---- +* Enabled Webhook Management Capabilities * Enabled Caching Abilities for Access Tokens v0.15.1 diff --git a/sample/README.md b/sample/README.md index 2997ce4..ce1e81a 100644 --- a/sample/README.md +++ b/sample/README.md @@ -49,8 +49,8 @@ The result would be as shown below: The sample comes pre-configured with a test account but in case you need to try them against your account, you must - * Obtain your client id and client secret from the developer portal - * Update the bootstrap.php file with your new client id and secret. + * Obtain your client id and client secret from the [developer portal](https://developer.paypal.com/webapps/developer/applications/myapps) + * Update the [bootstrap.php](https://github.com/paypal/PayPal-PHP-SDK/blob/master/sample/bootstrap.php#L29) file with your new client id and secret. #### More Help diff --git a/sample/doc/assets/behavior.js b/sample/doc/assets/behavior.js index 7bad080..1145214 100644 --- a/sample/doc/assets/behavior.js +++ b/sample/doc/assets/behavior.js @@ -1268,7 +1268,18 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 "title": "Basic Information", "slug": "basic-information" }, - "depth": 1 + "depth": 1, + "children": [ + { + "type": "heading", + "data": { + "level": 4, + "title": "NOTE: Please note that you need an https url for paypal webhooks. You can however override the url with https, and accept", + "slug": "note-please-note-that-you-need-an-https-url-for-paypal-webhooks-you-can-however-override-the-url-with-https-and-accept" + }, + "depth": 4 + } + ] }, { "type": "heading", "data": { @@ -1988,6 +1999,110 @@ f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3 ] } ] + }, { + "type": "file", + "data": { + "language": { + "nameMatchers": [{}, ".fbp"], + "pygmentsLexer": "php", + "singleLineComment": ["//"], + "ignorePrefix": "}", + "foldPrefix": "^", + "name": "PHP" + }, + "sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/AuthorizePaymentUsingPayPal.php", + "projectPath": "payments/AuthorizePaymentUsingPayPal.php", + "targetPath": "payments/AuthorizePaymentUsingPayPal", + "pageTitle": "payments/AuthorizePaymentUsingPayPal", + "title": "AuthorizePaymentUsingPayPal" + }, + "depth": 2, + "outline": [ + { + "type": "heading", + "data": { + "level": 1, + "title": "Authorize Payment using PayPal as payment method", + "slug": "authorize-payment-using-paypal-as-payment-method" + }, + "depth": 1, + "children": [ + { + "type": "heading", + "data": { + "level": 3, + "title": "Payer", + "slug": "payer" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Itemized information", + "slug": "itemized-information" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Additional payment details", + "slug": "additional-payment-details" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Amount", + "slug": "amount" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Transaction", + "slug": "transaction" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Redirect urls", + "slug": "redirect-urls" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Payment", + "slug": "payment" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Create Payment", + "slug": "create-payment" + }, + "depth": 3 + }, { + "type": "heading", + "data": { + "level": 3, + "title": "Get redirect url", + "slug": "get-redirect-url" + }, + "depth": 3 + } + ] + } + ] }, { "type": "file", "data": { diff --git a/sample/doc/notifications/SearchWebhookEvents.html b/sample/doc/notifications/SearchWebhookEvents.html index 6fafcca..558332e 100644 --- a/sample/doc/notifications/SearchWebhookEvents.html +++ b/sample/doc/notifications/SearchWebhookEvents.html @@ -6,6 +6,7 @@ API used: GET /v1/notifications/webhooks-events
'start_time'=>'2014-12-06T11:00:00Z', 'end_time'=>'2014-12-12T11:00:00Z'