Updated README.md to show better details with samples.

This commit is contained in:
japatel
2014-11-17 13:37:18 -06:00
parent 2c3f25bd29
commit f6947f3b06
5 changed files with 93 additions and 57 deletions

View File

@@ -58,12 +58,17 @@ If you do not want to use composer, you can grab the SDK zip that contains Paypa
- This *autoload.php* file registers a custom autoloader that can autoload the PayPal SDK files, that allows you to access PHP SDK system in your application.
## Running the sample
## Samples
### View
* Using the [htmlpreview](https://github.com/htmlpreview/htmlpreview.github.com) tool you can now [view sample source codes here](http://htmlpreview.github.io/?https://github.com/paypal/PayPal-PHP-SDK/blob/master/sample/index.html)
### Running Locally
* Clone the repo and navigate to the samples folder.
* Samples have dependency on the sdk and you can use [`composer`](http://getcomposer.org) to get the dependencies. Ensure that you have composer installed on your machine, navigate to the root folder and run `composer update --no-dev` to fetch the SDK.
* Optionally, update the bootstrap.php file with your own client Id and client secret, that you could find from the [developer portal](https://developer.paypal.com)
* Run any of the samples in the 'samples' folder to see what the APIs can do.
* You need to host this project locally using any server, e.g. Apache.
* Open the `index.html` page under `/sample` directory and checkout the samples.
## Usage
@@ -162,6 +167,7 @@ PayPal\Validation\ModelAccessorValidator: WARNING: Missing Accessor: PayPal\Api\
## More help
* [Sample Source Codes](http://htmlpreview.github.io/?https://github.com/paypal/PayPal-PHP-SDK/blob/master/sample/index.html)
* [API Reference](https://developer.paypal.com/webapps/developer/docs/api/)
* [Reporting issues / feature requests] (https://github.com/paypal/PayPal-PHP-SDK/issues)
* [Pizza App Using Paypal REST API] (https://github.com/paypal/rest-api-sample-app-php)

View File

@@ -5,10 +5,32 @@ This sample project is a simple web app that you can explore to understand what
To try out the sample, run `composer update --no-dev` from the PayPal-PHP-SDK folder and you are all set.
#### Running on a web
* If you plan to run these samples on the web, you will need to host this project under a local server. E.g. Apache.
* Once done, you could easily open the samples by opening the matching URL. For e.g.:
`http://localhost/PayPal-PHP-SDK/sample/index.html`
You should see a sample dashboard page as shown below:
![Web Output!](/sample/images/sample_web.png)
#### Running on console
> Please note that there are few samples that requires you to have a working local server, to receive redirects when user accepts/denies PayPal Web flow
* To run on console, you need to open command prompt, and direct to samples directory.
* Execute the sample php script by using `php -f` command as shown below:
```bat
php -f payments/CreatePaymentUsingSavedCard.php
```
The result would be as shown below:
![Console Output!](/sample/images/sample_console.png)
#### Configuration
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.
#### More Help
If you are looking for a full fledged application that uses the new RESTful APIs, check out the Pizza store sample app at https://github.com/paypal/rest-api-sample-app-php

Binary file not shown.

After

Width:  |  Height:  |  Size: 186 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 KiB

View File

@@ -12,7 +12,7 @@
<title>PayPal REST API Samples</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<style>
body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
@@ -54,7 +54,7 @@
<div class="row">
<div class="col-md-9 "><h5>Direct credit card payments</h5></div>
<div class="col-md-3">
<a href="payments/CreatePayment.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/CreatePayment.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/CreatePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -63,7 +63,7 @@
<div class="row">
<div class="col-md-9 "><h5>PayPal account payments</h5></div>
<div class="col-md-3">
<a href="payments/CreatePaymentUsingPayPal.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a><a href="doc/payments/CreatePaymentUsingPayPal.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="payments/CreatePaymentUsingPayPal.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a><a href="doc/payments/CreatePaymentUsingPayPal.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -71,7 +71,7 @@
<div class="row">
<div class="col-md-9 "><h5>Stored credit card payments</h5></div>
<div class="col-md-3">
<a href="payments/CreatePaymentUsingSavedCard.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/CreatePaymentUsingSavedCard.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/CreatePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -90,7 +90,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get payment details</h5></div>
<div class="col-md-3">
<a href="payments/GetPayment.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/GetPayment.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/CreatePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -99,7 +99,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get payment history</h5></div>
<div class="col-md-3">
<a href="payments/ListPayments.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/ListPayments.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/CreatePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -117,7 +117,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get Sale details</h5></div>
<div class="col-md-3">
<a href="sale/GetSale.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="sale/GetSale.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/sale/GetSale.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -126,7 +126,7 @@
<div class="row">
<div class="col-md-9 "><h5>Refund a Sale</h5></div>
<div class="col-md-3">
<a href="sale/RefundSale.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="sale/RefundSale.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/sale/RefundSale.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -144,7 +144,7 @@
<div class="row">
<div class="col-md-9 "><h5>Create Billing Plan</h5></div>
<div class="col-md-3">
<a href="billing/CreatePlan.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/CreatePlan.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/CreatePlan.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -153,7 +153,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get Billing Plan</h5></div>
<div class="col-md-3">
<a href="billing/GetPlan.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/GetPlan.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/GetPlan.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -162,7 +162,7 @@
<div class="row">
<div class="col-md-9 "><h5>Update/Activate Plan</h5></div>
<div class="col-md-3">
<a href="billing/UpdatePlan.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/UpdatePlan.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/UpdatePlan.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -171,7 +171,7 @@
<div class="row">
<div class="col-md-9 "><h5>Update Plan Payment Definitions/Amount</h5></div>
<div class="col-md-3">
<a href="billing/UpdatePlanPaymentDefinitions.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/UpdatePlanPaymentDefinitions.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/UpdatePlanPaymentDefinitions.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -180,7 +180,7 @@
<div class="row">
<div class="col-md-9 "><h5>List Billing Plans</h5></div>
<div class="col-md-3">
<a href="billing/ListPlans.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/ListPlans.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/ListPlans.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -189,7 +189,7 @@
<div class="row">
<div class="col-md-9 "><h5>Create Billing Agreement With Credit Card</h5></div>
<div class="col-md-3">
<a href="billing/CreateBillingAgreementWithCreditCard.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/CreateBillingAgreementWithCreditCard.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/CreateBillingAgreementWithCreditCard.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -198,7 +198,7 @@
<div class="row">
<div class="col-md-9 "><h5>Create Billing Agreement With PayPal</h5></div>
<div class="col-md-3">
<a href="billing/CreateBillingAgreementWithPayPal.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/CreateBillingAgreementWithPayPal.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/CreateBillingAgreementWithPayPal.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -207,7 +207,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get Billing Agreement</h5></div>
<div class="col-md-3">
<a href="billing/GetBillingAgreement.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/GetBillingAgreement.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/GetBillingAgreement.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -216,7 +216,7 @@
<div class="row">
<div class="col-md-9 "><h5>Update Billing Agreement</h5></div>
<div class="col-md-3">
<a href="billing/UpdateBillingAgreement.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/UpdateBillingAgreement.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/UpdateBillingAgreement.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -225,7 +225,7 @@
<div class="row">
<div class="col-md-9 "><h5>Suspend Billing Agreement</h5></div>
<div class="col-md-3">
<a href="billing/SuspendBillingAgreement.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/SuspendBillingAgreement.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/SuspendBillingAgreement.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -234,7 +234,7 @@
<div class="row">
<div class="col-md-9 "><h5>Reactivate Billing Agreement</h5></div>
<div class="col-md-3">
<a href="billing/ReactivateBillingAgreement.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="billing/ReactivateBillingAgreement.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/billing/ReactivateBillingAgreement.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -252,7 +252,7 @@
<div class="row">
<div class="col-md-9 "><h5>Save a credit card</h5></div>
<div class="col-md-3">
<a href="vault/CreateCreditCard.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="vault/CreateCreditCard.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/vault/CreateCreditCard.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -261,7 +261,7 @@
<div class="row">
<div class="col-md-9 "><h5>Retrieve saved credit card</h5></div>
<div class="col-md-3">
<a href="vault/GetCreditCard.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="vault/GetCreditCard.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/vault/GetCreditCard.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -270,7 +270,7 @@
<div class="row">
<div class="col-md-9 "><h5>Delete saved credit card</h5></div>
<div class="col-md-3">
<a href="vault/DeleteCreditCard.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="vault/DeleteCreditCard.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/vault/DeleteCreditCard.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -288,7 +288,7 @@
<div class="row">
<div class="col-md-9 "><h5>Authorize Payment</h5></div>
<div class="col-md-3">
<a href="payments/AuthorizePayment.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/AuthorizePayment.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/AuthorizePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -297,7 +297,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get details of an authorized payment</h5></div>
<div class="col-md-3">
<a href="payments/GetAuthorization.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/GetAuthorization.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/GetAuthorization.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -306,7 +306,7 @@
<div class="row">
<div class="col-md-9 "><h5>Capture an authorized payment</h5></div>
<div class="col-md-3">
<a href="payments/AuthorizationCapture.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/AuthorizationCapture.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/AuthorizationCapture.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -315,7 +315,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get details of a captured payment</h5></div>
<div class="col-md-3">
<a href="payments/GetCapture.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/GetCapture.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/GetCapture.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -324,7 +324,7 @@
<div class="row">
<div class="col-md-9 "><h5>Void an authorized payment</h5></div>
<div class="col-md-3">
<a href="payments/VoidAuthorization.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/VoidAuthorization.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/VoidAuthorization.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -333,7 +333,7 @@
<div class="row">
<div class="col-md-9 "><h5>Reauthorize a payment</h5></div>
<div class="col-md-3">
<a href="payments/Reauthorization.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/Reauthorization.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/Reauthorization.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -342,7 +342,7 @@
<div class="row">
<div class="col-md-9 "><h5>Refund captured payment</h5></div>
<div class="col-md-3">
<a href="payments/RefundCapture.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payments/RefundCapture.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payments/RefundCapture.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -360,7 +360,7 @@
<div class="row">
<div class="col-md-9 "><h5>Create a web experience profile</h5></div>
<div class="col-md-3">
<a href="payment-experience/CreateWebProfile.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/CreateWebProfile.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/CreateWebProfile.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -369,7 +369,7 @@
<div class="row">
<div class="col-md-9 "><h5>Retrieve a web experience profile</h5></div>
<div class="col-md-3">
<a href="payment-experience/GetWebProfile.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/GetWebProfile.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/GetWebProfile.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -378,7 +378,7 @@
<div class="row">
<div class="col-md-9 "><h5>List web experience profiles</h5></div>
<div class="col-md-3">
<a href="payment-experience/ListWebProfiles.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/ListWebProfiles.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/ListWebProfiles.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -387,7 +387,7 @@
<div class="row">
<div class="col-md-9 "><h5>Update a web experience profile</h5></div>
<div class="col-md-3">
<a href="payment-experience/UpdateWebProfile.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/UpdateWebProfile.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/UpdateWebProfile.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -396,7 +396,7 @@
<div class="row">
<div class="col-md-9 "><h5>Partially update a web experience profile</h5></div>
<div class="col-md-3">
<a href="payment-experience/PartiallyUpdateWebProfile.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/PartiallyUpdateWebProfile.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/PartiallyUpdateWebProfile.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -405,7 +405,7 @@
<div class="row">
<div class="col-md-9 "><h5>Delete a web experience profile</h5></div>
<div class="col-md-3">
<a href="payment-experience/DeleteWebProfile.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="payment-experience/DeleteWebProfile.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/payment-experience/DeleteWebProfile.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -423,8 +423,8 @@
<div class="row">
<div class="col-md-9 "><h5>Create Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/CreateInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/CreateInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/CreateInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -432,8 +432,8 @@
<div class="row">
<div class="col-md-9 "><h5>Get Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/GetInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/GetInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/GetInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -441,8 +441,8 @@
<div class="row">
<div class="col-md-9 "><h5>List All Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/ListInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/ListInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/ListInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -450,8 +450,8 @@
<div class="row">
<div class="col-md-9 "><h5>Send Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/SendInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/SendInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/SendInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -459,8 +459,8 @@
<div class="row">
<div class="col-md-9 "><h5>Remind Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/RemindInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/RemindInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/RemindInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -468,8 +468,8 @@
<div class="row">
<div class="col-md-9 "><h5>Cancel Invoice</h5></div>
<div class="col-md-3">
<a href="invoice/CancelInvoice.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
<a href="invoice/CancelInvoice.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/invoice/CancelInvoice.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
</li>
@@ -486,7 +486,7 @@
<div class="row">
<div class="col-md-9 "><h5>Obtain User's Consent</h5></div>
<div class="col-md-3">
<a href="lipp/ObtainUserConsent.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="lipp/ObtainUserConsent.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/lipp/ObtainUserConsent.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -503,7 +503,7 @@
<div class="row">
<div class="col-md-9 "><h5>Get User Info</h5></div>
<div class="col-md-3">
<a href="lipp/GetUserInfo.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="lipp/GetUserInfo.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/lipp/GetUserInfo.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -512,7 +512,7 @@
<div class="row">
<div class="col-md-9 "><h5>Obtain Access Token From Refresh Token</h5></div>
<div class="col-md-3">
<a href="lipp/GenerateAccessTokenFromRefreshToken.php" class="btn btn-primary pull-left" >Execute <i class="fa fa-play-circle-o"></i></a>
<a href="lipp/GenerateAccessTokenFromRefreshToken.php" class="btn btn-primary pull-left execute" > Execute <i class="fa fa-play-circle-o"></i></a>
<a href="doc/lipp/GenerateAccessTokenFromRefreshToken.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
</div>
</div>
@@ -527,6 +527,14 @@
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/scrollspy.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.2.0/js/scrollspy.min.js"></script>
<script>
$(document).ready(function () {
if(window.location.href.indexOf("htmlpreview.github.io") >= 0) {
$(".execute").hide();
}
});
</script>
</body>
</html>