forked from LiveCarta/PayPal-PHP-SDK
Update Invoicing Samples
This commit is contained in:
@@ -24,7 +24,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/CreateBillingAgreementWithCreditCard.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/CreateBillingAgreementWithCreditCard.php",
|
||||
"projectPath": "billing/CreateBillingAgreementWithCreditCard.php",
|
||||
"targetPath": "billing/CreateBillingAgreementWithCreditCard",
|
||||
"pageTitle": "billing/CreateBillingAgreementWithCreditCard",
|
||||
@@ -64,7 +64,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/CreateBillingAgreementWithPayPal.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/CreateBillingAgreementWithPayPal.php",
|
||||
"projectPath": "billing/CreateBillingAgreementWithPayPal.php",
|
||||
"targetPath": "billing/CreateBillingAgreementWithPayPal",
|
||||
"pageTitle": "billing/CreateBillingAgreementWithPayPal",
|
||||
@@ -112,7 +112,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/CreatePlan.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/CreatePlan.php",
|
||||
"projectPath": "billing/CreatePlan.php",
|
||||
"targetPath": "billing/CreatePlan",
|
||||
"pageTitle": "billing/CreatePlan",
|
||||
@@ -168,7 +168,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/ExecuteAgreement.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/ExecuteAgreement.php",
|
||||
"projectPath": "billing/ExecuteAgreement.php",
|
||||
"targetPath": "billing/ExecuteAgreement",
|
||||
"pageTitle": "billing/ExecuteAgreement",
|
||||
@@ -187,7 +187,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/GetBillingAgreement.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/GetBillingAgreement.php",
|
||||
"projectPath": "billing/GetBillingAgreement.php",
|
||||
"targetPath": "billing/GetBillingAgreement",
|
||||
"pageTitle": "billing/GetBillingAgreement",
|
||||
@@ -216,7 +216,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/GetPlan.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/GetPlan.php",
|
||||
"projectPath": "billing/GetPlan.php",
|
||||
"targetPath": "billing/GetPlan",
|
||||
"pageTitle": "billing/GetPlan",
|
||||
@@ -245,7 +245,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/ListPlans.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/ListPlans.php",
|
||||
"projectPath": "billing/ListPlans.php",
|
||||
"targetPath": "billing/ListPlans",
|
||||
"pageTitle": "billing/ListPlans",
|
||||
@@ -274,7 +274,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/ReactivateBillingAgreement.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/ReactivateBillingAgreement.php",
|
||||
"projectPath": "billing/ReactivateBillingAgreement.php",
|
||||
"targetPath": "billing/ReactivateBillingAgreement",
|
||||
"pageTitle": "billing/ReactivateBillingAgreement",
|
||||
@@ -303,7 +303,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/SuspendBillingAgreement.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/SuspendBillingAgreement.php",
|
||||
"projectPath": "billing/SuspendBillingAgreement.php",
|
||||
"targetPath": "billing/SuspendBillingAgreement",
|
||||
"pageTitle": "billing/SuspendBillingAgreement",
|
||||
@@ -332,7 +332,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/UpdateBillingAgreement.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/UpdateBillingAgreement.php",
|
||||
"projectPath": "billing/UpdateBillingAgreement.php",
|
||||
"targetPath": "billing/UpdateBillingAgreement",
|
||||
"pageTitle": "billing/UpdateBillingAgreement",
|
||||
@@ -361,7 +361,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/UpdatePlan.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/UpdatePlan.php",
|
||||
"projectPath": "billing/UpdatePlan.php",
|
||||
"targetPath": "billing/UpdatePlan",
|
||||
"pageTitle": "billing/UpdatePlan",
|
||||
@@ -401,7 +401,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/billing/UpdatePlanPaymentDefinitions.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/billing/UpdatePlanPaymentDefinitions.php",
|
||||
"projectPath": "billing/UpdatePlanPaymentDefinitions.php",
|
||||
"targetPath": "billing/UpdatePlanPaymentDefinitions",
|
||||
"pageTitle": "billing/UpdatePlanPaymentDefinitions",
|
||||
@@ -451,7 +451,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/CancelInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/CancelInvoice.php",
|
||||
"projectPath": "invoice/CancelInvoice.php",
|
||||
"targetPath": "invoice/CancelInvoice",
|
||||
"pageTitle": "invoice/CancelInvoice",
|
||||
@@ -469,14 +469,6 @@ 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
|
||||
"depth": 1,
|
||||
"children": [
|
||||
{
|
||||
"type": "heading",
|
||||
"data": {
|
||||
"level": 3,
|
||||
"title": "Retrieve Invoice",
|
||||
"slug": "retrieve-invoice"
|
||||
},
|
||||
"depth": 3
|
||||
}, {
|
||||
"type": "heading",
|
||||
"data": {
|
||||
"level": 3,
|
||||
@@ -507,7 +499,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/CreateInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/CreateInvoice.php",
|
||||
"projectPath": "invoice/CreateInvoice.php",
|
||||
"targetPath": "invoice/CreateInvoice",
|
||||
"pageTitle": "invoice/CreateInvoice",
|
||||
@@ -595,7 +587,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/GetInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/GetInvoice.php",
|
||||
"projectPath": "invoice/GetInvoice.php",
|
||||
"targetPath": "invoice/GetInvoice",
|
||||
"pageTitle": "invoice/GetInvoice",
|
||||
@@ -635,7 +627,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/ListInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/ListInvoice.php",
|
||||
"projectPath": "invoice/ListInvoice.php",
|
||||
"targetPath": "invoice/ListInvoice",
|
||||
"pageTitle": "invoice/ListInvoice",
|
||||
@@ -675,7 +667,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/RemindInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/RemindInvoice.php",
|
||||
"projectPath": "invoice/RemindInvoice.php",
|
||||
"targetPath": "invoice/RemindInvoice",
|
||||
"pageTitle": "invoice/RemindInvoice",
|
||||
@@ -731,7 +723,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/invoice/SendInvoice.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/invoice/SendInvoice.php",
|
||||
"projectPath": "invoice/SendInvoice.php",
|
||||
"targetPath": "invoice/SendInvoice",
|
||||
"pageTitle": "invoice/SendInvoice",
|
||||
@@ -789,7 +781,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/lipp/GenerateAccessTokenFromRefreshToken.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/lipp/GenerateAccessTokenFromRefreshToken.php",
|
||||
"projectPath": "lipp/GenerateAccessTokenFromRefreshToken.php",
|
||||
"targetPath": "lipp/GenerateAccessTokenFromRefreshToken",
|
||||
"pageTitle": "lipp/GenerateAccessTokenFromRefreshToken",
|
||||
@@ -818,7 +810,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/lipp/GetUserInfo.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/lipp/GetUserInfo.php",
|
||||
"projectPath": "lipp/GetUserInfo.php",
|
||||
"targetPath": "lipp/GetUserInfo",
|
||||
"pageTitle": "lipp/GetUserInfo",
|
||||
@@ -847,7 +839,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/lipp/ObtainUserConsent.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/lipp/ObtainUserConsent.php",
|
||||
"projectPath": "lipp/ObtainUserConsent.php",
|
||||
"targetPath": "lipp/ObtainUserConsent",
|
||||
"pageTitle": "lipp/ObtainUserConsent",
|
||||
@@ -876,7 +868,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/lipp/UserConsentRedirect.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/lipp/UserConsentRedirect.php",
|
||||
"projectPath": "lipp/UserConsentRedirect.php",
|
||||
"targetPath": "lipp/UserConsentRedirect",
|
||||
"pageTitle": "lipp/UserConsentRedirect",
|
||||
@@ -915,7 +907,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/CreateWebProfile.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/CreateWebProfile.php",
|
||||
"projectPath": "payment-experience/CreateWebProfile.php",
|
||||
"targetPath": "payment-experience/CreateWebProfile",
|
||||
"pageTitle": "payment-experience/CreateWebProfile",
|
||||
@@ -955,7 +947,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/DeleteWebProfile.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/DeleteWebProfile.php",
|
||||
"projectPath": "payment-experience/DeleteWebProfile.php",
|
||||
"targetPath": "payment-experience/DeleteWebProfile",
|
||||
"pageTitle": "payment-experience/DeleteWebProfile",
|
||||
@@ -984,7 +976,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/GetWebProfile.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/GetWebProfile.php",
|
||||
"projectPath": "payment-experience/GetWebProfile.php",
|
||||
"targetPath": "payment-experience/GetWebProfile",
|
||||
"pageTitle": "payment-experience/GetWebProfile",
|
||||
@@ -1013,7 +1005,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/ListWebProfiles.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/ListWebProfiles.php",
|
||||
"projectPath": "payment-experience/ListWebProfiles.php",
|
||||
"targetPath": "payment-experience/ListWebProfiles",
|
||||
"pageTitle": "payment-experience/ListWebProfiles",
|
||||
@@ -1042,7 +1034,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/PartiallyUpdateWebProfile.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/PartiallyUpdateWebProfile.php",
|
||||
"projectPath": "payment-experience/PartiallyUpdateWebProfile.php",
|
||||
"targetPath": "payment-experience/PartiallyUpdateWebProfile",
|
||||
"pageTitle": "payment-experience/PartiallyUpdateWebProfile",
|
||||
@@ -1079,7 +1071,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payment-experience/UpdateWebProfile.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payment-experience/UpdateWebProfile.php",
|
||||
"projectPath": "payment-experience/UpdateWebProfile.php",
|
||||
"targetPath": "payment-experience/UpdateWebProfile",
|
||||
"pageTitle": "payment-experience/UpdateWebProfile",
|
||||
@@ -1118,7 +1110,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/AuthorizationCapture.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/AuthorizationCapture.php",
|
||||
"projectPath": "payments/AuthorizationCapture.php",
|
||||
"targetPath": "payments/AuthorizationCapture",
|
||||
"pageTitle": "payments/AuthorizationCapture",
|
||||
@@ -1158,7 +1150,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/AuthorizePayment.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/AuthorizePayment.php",
|
||||
"projectPath": "payments/AuthorizePayment.php",
|
||||
"targetPath": "payments/AuthorizePayment",
|
||||
"pageTitle": "payments/AuthorizePayment",
|
||||
@@ -1198,7 +1190,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/CreateFuturePayment.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/CreateFuturePayment.php",
|
||||
"projectPath": "payments/CreateFuturePayment.php",
|
||||
"targetPath": "payments/CreateFuturePayment",
|
||||
"pageTitle": "payments/CreateFuturePayment",
|
||||
@@ -1286,7 +1278,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/CreatePayment.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/CreatePayment.php",
|
||||
"projectPath": "payments/CreatePayment.php",
|
||||
"targetPath": "payments/CreatePayment",
|
||||
"pageTitle": "payments/CreatePayment",
|
||||
@@ -1390,7 +1382,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/CreatePaymentUsingPayPal.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/CreatePaymentUsingPayPal.php",
|
||||
"projectPath": "payments/CreatePaymentUsingPayPal.php",
|
||||
"targetPath": "payments/CreatePaymentUsingPayPal",
|
||||
"pageTitle": "payments/CreatePaymentUsingPayPal",
|
||||
@@ -1494,7 +1486,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/CreatePaymentUsingSavedCard.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/CreatePaymentUsingSavedCard.php",
|
||||
"projectPath": "payments/CreatePaymentUsingSavedCard.php",
|
||||
"targetPath": "payments/CreatePaymentUsingSavedCard",
|
||||
"pageTitle": "payments/CreatePaymentUsingSavedCard",
|
||||
@@ -1598,7 +1590,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/ExecutePayment.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/ExecutePayment.php",
|
||||
"projectPath": "payments/ExecutePayment.php",
|
||||
"targetPath": "payments/ExecutePayment",
|
||||
"pageTitle": "payments/ExecutePayment",
|
||||
@@ -1627,7 +1619,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/GetAuthorization.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/GetAuthorization.php",
|
||||
"projectPath": "payments/GetAuthorization.php",
|
||||
"targetPath": "payments/GetAuthorization",
|
||||
"pageTitle": "payments/GetAuthorization",
|
||||
@@ -1667,7 +1659,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/GetCapture.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/GetCapture.php",
|
||||
"projectPath": "payments/GetCapture.php",
|
||||
"targetPath": "payments/GetCapture",
|
||||
"pageTitle": "payments/GetCapture",
|
||||
@@ -1707,7 +1699,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/GetPayment.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/GetPayment.php",
|
||||
"projectPath": "payments/GetPayment.php",
|
||||
"targetPath": "payments/GetPayment",
|
||||
"pageTitle": "payments/GetPayment",
|
||||
@@ -1747,7 +1739,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/ListPayments.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/ListPayments.php",
|
||||
"projectPath": "payments/ListPayments.php",
|
||||
"targetPath": "payments/ListPayments",
|
||||
"pageTitle": "payments/ListPayments",
|
||||
@@ -1787,7 +1779,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/Reauthorization.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/Reauthorization.php",
|
||||
"projectPath": "payments/Reauthorization.php",
|
||||
"targetPath": "payments/Reauthorization",
|
||||
"pageTitle": "payments/Reauthorization",
|
||||
@@ -1835,7 +1827,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/RefundCapture.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/RefundCapture.php",
|
||||
"projectPath": "payments/RefundCapture.php",
|
||||
"targetPath": "payments/RefundCapture",
|
||||
"pageTitle": "payments/RefundCapture",
|
||||
@@ -1875,7 +1867,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/payments/VoidAuthorization.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/payments/VoidAuthorization.php",
|
||||
"projectPath": "payments/VoidAuthorization.php",
|
||||
"targetPath": "payments/VoidAuthorization",
|
||||
"pageTitle": "payments/VoidAuthorization",
|
||||
@@ -1925,7 +1917,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/sale/GetSale.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/sale/GetSale.php",
|
||||
"projectPath": "sale/GetSale.php",
|
||||
"targetPath": "sale/GetSale",
|
||||
"pageTitle": "sale/GetSale",
|
||||
@@ -1973,7 +1965,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/sale/RefundSale.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/sale/RefundSale.php",
|
||||
"projectPath": "sale/RefundSale.php",
|
||||
"targetPath": "sale/RefundSale",
|
||||
"pageTitle": "sale/RefundSale",
|
||||
@@ -2039,7 +2031,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/vault/CreateCreditCard.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/vault/CreateCreditCard.php",
|
||||
"projectPath": "vault/CreateCreditCard.php",
|
||||
"targetPath": "vault/CreateCreditCard",
|
||||
"pageTitle": "vault/CreateCreditCard",
|
||||
@@ -2087,7 +2079,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/vault/DeleteCreditCard.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/vault/DeleteCreditCard.php",
|
||||
"projectPath": "vault/DeleteCreditCard.php",
|
||||
"targetPath": "vault/DeleteCreditCard",
|
||||
"pageTitle": "vault/DeleteCreditCard",
|
||||
@@ -2127,7 +2119,7 @@ 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
|
||||
"foldPrefix": "^",
|
||||
"name": "PHP"
|
||||
},
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/rest-api-sdk-php/sample/vault/GetCreditCard.php",
|
||||
"sourcePath": "/Users/japatel/Documents/workspace/Server-SDK/PayPal-PHP-SDK/sample/vault/GetCreditCard.php",
|
||||
"projectPath": "vault/GetCreditCard.php",
|
||||
"targetPath": "vault/GetCreditCard",
|
||||
"pageTitle": "vault/GetCreditCard",
|
||||
|
||||
@@ -1,16 +1,12 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>invoice/CancelInvoice</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path" content="invoice/CancelInvoice"><meta name="groc-project-path" content="invoice/CancelInvoice.php"><link rel="stylesheet" type="text/css" media="all" href="../assets/style.css"><script type="text/javascript" src="../assets/behavior.js"></script><body><div id="meta"><div class="file-path">invoice/CancelInvoice.php</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="hljs-preprocessor"><?php</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h1 id="cancel-invoice-sample">Cancel Invoice Sample</h1>
|
||||
<p>This sample code demonstrate how you can cancel
|
||||
an invoice.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
|
||||
an invoice.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-comment">/**<span class="hljs-phpdoc"> @var</span> Invoice $invoice */</span>
|
||||
<span class="hljs-variable">$invoice</span> = <span class="hljs-keyword">require</span> <span class="hljs-string">'SendInvoice.php'</span>;
|
||||
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Invoice</span>;
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">CancelNotification</span>;
|
||||
|
||||
<span class="hljs-keyword">try</span> {</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="retrieve-invoice">Retrieve Invoice</h3>
|
||||
<p>Retrieve the invoice object by calling the
|
||||
static <code>get</code> method
|
||||
on the Payment class by passing a valid
|
||||
Invoice ID
|
||||
(See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$invoice</span> = Invoice::get(<span class="hljs-string">"INV2-CJL7-PF4G-BLQF-5FWG"</span>, <span class="hljs-variable">$apiContext</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="cancel-notification-object">Cancel Notification Object</h3>
|
||||
<span class="hljs-keyword">try</span> {</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="cancel-notification-object">Cancel Notification Object</h3>
|
||||
<p>This would send a notification to both merchant as well
|
||||
the payer about the cancellation. The information of
|
||||
merchant and payer is retrieved from the invoice details</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$notify</span> = <span class="hljs-keyword">new</span> CancelNotification();
|
||||
|
||||
@@ -79,4 +79,6 @@ with a valid ApiContext (See bootstrap.php for more on <code>ApiContext</code>)<
|
||||
<span class="hljs-keyword">exit</span>(<span class="hljs-number">1</span>);
|
||||
}
|
||||
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Invoice Creation"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$request</span>, <span class="hljs-variable">$invoice</span>);</div></div></div></div></body></html>
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Invoice Creation"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$request</span>, <span class="hljs-variable">$invoice</span>);
|
||||
|
||||
<span class="hljs-keyword">return</span> <span class="hljs-variable">$invoice</span>;</div></div></div></div></body></html>
|
||||
@@ -1,9 +1,10 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>invoice/GetInvoice</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path" content="invoice/GetInvoice"><meta name="groc-project-path" content="invoice/GetInvoice.php"><link rel="stylesheet" type="text/css" media="all" href="../assets/style.css"><script type="text/javascript" src="../assets/behavior.js"></script><body><div id="meta"><div class="file-path">invoice/GetInvoice.php</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="hljs-preprocessor"><?php</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h1 id="get-invoice-sample">Get Invoice Sample</h1>
|
||||
<p>This sample code demonstrate how you can retrieve
|
||||
an invoice.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
|
||||
an invoice.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-comment">/**<span class="hljs-phpdoc"> @var</span> Invoice $invoice */</span>
|
||||
<span class="hljs-variable">$invoice</span> = <span class="hljs-keyword">require</span> <span class="hljs-string">'CreateInvoice.php'</span>;
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Invoice</span>;
|
||||
|
||||
<span class="hljs-variable">$invoiceId</span> = <span class="hljs-string">"INV2-W4LC-6QS9-JZ62-VE4P"</span>;</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="retrieve-invoice">Retrieve Invoice</h3>
|
||||
<span class="hljs-variable">$invoiceId</span> = <span class="hljs-variable">$invoice</span>->getId();</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="retrieve-invoice">Retrieve Invoice</h3>
|
||||
<p>Retrieve the invoice object by calling the
|
||||
static <code>get</code> method
|
||||
on the Invoice class by passing a valid
|
||||
@@ -15,4 +16,6 @@ Invoice ID
|
||||
<span class="hljs-keyword">exit</span>(<span class="hljs-number">1</span>);
|
||||
}
|
||||
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Get Invoice"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$invoiceId</span>, <span class="hljs-variable">$invoice</span>);</div></div></div></div></body></html>
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Get Invoice"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$invoiceId</span>, <span class="hljs-variable">$invoice</span>);
|
||||
|
||||
<span class="hljs-keyword">return</span> <span class="hljs-variable">$invoice</span>;</div></div></div></div></body></html>
|
||||
@@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>invoice/ListInvoice</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path" content="invoice/ListInvoice"><meta name="groc-project-path" content="invoice/ListInvoice.php"><link rel="stylesheet" type="text/css" media="all" href="../assets/style.css"><script type="text/javascript" src="../assets/behavior.js"></script><body><div id="meta"><div class="file-path">invoice/ListInvoice.php</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="hljs-preprocessor"><?php</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h1 id="list-invoices-sample">List Invoices Sample</h1>
|
||||
<p>This sample code demonstrate how you can get
|
||||
all invoice from history.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
|
||||
all invoice from history.</p></div></div><div class="code"><div class="wrapper"><span class="hljs-comment">/**<span class="hljs-phpdoc"> @var</span> Invoice $invoice */</span>
|
||||
<span class="hljs-variable">$invoice</span> = <span class="hljs-keyword">require</span> <span class="hljs-string">'CreateInvoice.php'</span>;
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Invoice</span>;
|
||||
|
||||
<span class="hljs-keyword">try</span> {</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="retrieve-invoices">Retrieve Invoices</h3>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>invoice/RemindInvoice</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path" content="invoice/RemindInvoice"><meta name="groc-project-path" content="invoice/RemindInvoice.php"><link rel="stylesheet" type="text/css" media="all" href="../assets/style.css"><script type="text/javascript" src="../assets/behavior.js"></script><body><div id="meta"><div class="file-path">invoice/RemindInvoice.php</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="hljs-preprocessor"><?php</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h1 id="remind-invoice-sample">Remind Invoice Sample</h1>
|
||||
<p>This sample code demonstrate how you can remind
|
||||
an invoice to the payer</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
|
||||
an invoice to the payer</p></div></div><div class="code"><div class="wrapper"><span class="hljs-comment">/**<span class="hljs-phpdoc"> @var</span> Invoice $invoice */</span>
|
||||
<span class="hljs-variable">$invoice</span> = <span class="hljs-keyword">require</span> <span class="hljs-string">'SendInvoice.php'</span>;
|
||||
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Invoice</span>;
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Notification</span>;
|
||||
@@ -10,7 +11,7 @@ an invoice to the payer</p></div></div><div class="code"><div class="wrapper"><s
|
||||
static <code>get</code> method
|
||||
on the Invoice class by passing a valid
|
||||
Invoice ID
|
||||
(See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$invoice</span> = Invoice::get(<span class="hljs-string">"INV2-W4LC-6QS9-JZ62-VE4P"</span>, <span class="hljs-variable">$apiContext</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="notification-object">Notification Object</h3>
|
||||
(See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$invoice</span> = Invoice::get(<span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$apiContext</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="notification-object">Notification Object</h3>
|
||||
<p>This would send a notification to both merchant as well
|
||||
the payer. The information of merchant
|
||||
and payer is retrieved from the invoice details</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$notify</span> = <span class="hljs-keyword">new</span> Notification();
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<!DOCTYPE html><html lang="en"><head><title>invoice/SendInvoice</title></head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0"><meta name="groc-relative-root" content="../"><meta name="groc-document-path" content="invoice/SendInvoice"><meta name="groc-project-path" content="invoice/SendInvoice.php"><link rel="stylesheet" type="text/css" media="all" href="../assets/style.css"><script type="text/javascript" src="../assets/behavior.js"></script><body><div id="meta"><div class="file-path">invoice/SendInvoice.php</div></div><div id="document"><div class="segment"><div class="code"><div class="wrapper"><span class="hljs-preprocessor"><?php</span></div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h1 id="create-invoice-sample">Create Invoice Sample</h1>
|
||||
<p>This sample code demonstrate how you can send
|
||||
a legitimate invoice to the payer</p></div></div><div class="code"><div class="wrapper"><span class="hljs-keyword">require</span> <span class="hljs-keyword">__DIR__</span> . <span class="hljs-string">'/../bootstrap.php'</span>;
|
||||
a legitimate invoice to the payer</p></div></div><div class="code"><div class="wrapper"><span class="hljs-comment">/**<span class="hljs-phpdoc"> @var</span> Invoice $invoice */</span>
|
||||
<span class="hljs-variable">$invoice</span> = <span class="hljs-keyword">require</span> <span class="hljs-string">'CreateInvoice.php'</span>;
|
||||
|
||||
<span class="hljs-keyword">use</span> <span class="hljs-title">PayPal</span>\<span class="hljs-title">Api</span>\<span class="hljs-title">Invoice</span>;
|
||||
|
||||
@@ -9,7 +10,7 @@ a legitimate invoice to the payer</p></div></div><div class="code"><div class="w
|
||||
static <code>get</code> method
|
||||
on the Invoice class by passing a valid
|
||||
Invoice ID
|
||||
(See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$invoice</span> = Invoice::get(<span class="hljs-string">"INV2-W4LC-6QS9-JZ62-VE4P"</span>, <span class="hljs-variable">$apiContext</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="send-invoice">Send Invoice</h3>
|
||||
(See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$invoice</span> = Invoice::get(<span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-variable">$apiContext</span>);</div></div></div><div class="segment"><div class="comments "><div class="wrapper"><h3 id="send-invoice">Send Invoice</h3>
|
||||
<p>Send a legitimate invoice to the payer
|
||||
with a valid ApiContext (See bootstrap.php for more on <code>ApiContext</code>)</p></div></div><div class="code"><div class="wrapper"> <span class="hljs-variable">$sendStatus</span> = <span class="hljs-variable">$invoice</span>->send(<span class="hljs-variable">$apiContext</span>);
|
||||
} <span class="hljs-keyword">catch</span> (<span class="hljs-keyword">Exception</span> <span class="hljs-variable">$ex</span>) {
|
||||
@@ -17,4 +18,6 @@ with a valid ApiContext (See bootstrap.php for more on <code>ApiContext</code>)<
|
||||
<span class="hljs-keyword">exit</span>(<span class="hljs-number">1</span>);
|
||||
}
|
||||
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Send Invoice"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-keyword">null</span>, <span class="hljs-keyword">null</span>);</div></div></div></div></body></html>
|
||||
ResultPrinter::printResult(<span class="hljs-string">"Send Invoice"</span>, <span class="hljs-string">"Invoice"</span>, <span class="hljs-variable">$invoice</span>->getId(), <span class="hljs-keyword">null</span>, <span class="hljs-keyword">null</span>);
|
||||
|
||||
<span class="hljs-keyword">return</span> <span class="hljs-variable">$invoice</span>;</div></div></div></div></body></html>
|
||||
@@ -50,7 +50,7 @@
|
||||
}
|
||||
.header a:link, .header a:visited, .header a:hover, .header a:active {
|
||||
text-decoration: none;
|
||||
color: #EEE;
|
||||
color: #FFF;
|
||||
}
|
||||
/* Sticky footer styles
|
||||
-------------------------------------------------- */
|
||||
@@ -78,7 +78,7 @@
|
||||
font-size: 110%;
|
||||
}
|
||||
.footer a {
|
||||
color: #EEE;
|
||||
color: #FFF;
|
||||
text-decoration: none;
|
||||
}
|
||||
/*
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
@@ -18,15 +17,21 @@
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
.jumbotron {
|
||||
background: white;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.footer {
|
||||
background: #428bca;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.logo {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
@@ -34,19 +39,13 @@
|
||||
background: -webkit-linear-gradient(-9deg, white 30%, #428bca 25%);
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1600px) {
|
||||
.logo {
|
||||
position: relative;
|
||||
}
|
||||
}
|
||||
@media (min-width: 1600px) {
|
||||
.logo {
|
||||
position: fixed;
|
||||
top: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
@@ -56,6 +55,7 @@
|
||||
/* Margin bottom by footer height */
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.footer {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
@@ -63,11 +63,13 @@
|
||||
min-height: 60px;
|
||||
background: -webkit-linear-gradient(-9deg, #428bca 70%, white 25%);
|
||||
}
|
||||
|
||||
.footer .footer-links, .footer .footer-links li {
|
||||
display: inline-block;
|
||||
padding: 5px 8px;
|
||||
font-size: 110%;
|
||||
}
|
||||
|
||||
.footer a {
|
||||
color: #EEE;
|
||||
text-decoration: none;
|
||||
@@ -88,210 +90,97 @@
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-4 pull-left">
|
||||
<img src="images/pp_v_rgb.png" class="logo" height="200" />
|
||||
<img src="images/pp_v_rgb.png" class="logo" height="200"/>
|
||||
</div>
|
||||
<div class="col-md-8 pull-right">
|
||||
<h1> REST API Samples</h1>
|
||||
<p>These examples are created to experiment with the PayPal-PHP-SDK capabilities. Each examples are designed to demonstrate the default use-cases in each segment.
|
||||
Many examples should be executable, and should allow you to experience the default behavior of our sdk, to expedite your integration experience.</p>
|
||||
|
||||
<p>These examples are created to experiment with the PayPal-PHP-SDK capabilities. Each examples are
|
||||
designed to demonstrate the default use-cases in each segment.
|
||||
Many examples should be executable, and should allow you to experience the default behavior of our
|
||||
sdk, to expedite your integration experience.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-fluid">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-3"> </div>
|
||||
<div class="col-md-9">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#payments" target="_blank">Payments</a></h3>
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#payments"
|
||||
target="_blank">Payments</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Direct credit card payments</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>PayPal account payments</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Stored credit card payments</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-9 "><h5>Future payments* <small> (needs Authorization Code from Mobile SDK)</small></h5></div>
|
||||
<div class="col-md-3"></div>
|
||||
<div class="col-md-3">
|
||||
<a href="doc/payments/CreateFuturePayment.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
|
||||
<div class="col-md-8">
|
||||
<h5>Future payments*
|
||||
<small> (needs Authorization Code from Mobile SDK)</small>
|
||||
</h5>
|
||||
</div>
|
||||
<div class="col-md-4"></div>
|
||||
<div class="col-md-4">
|
||||
<a href="doc/payments/CreateFuturePayment.html" class="btn btn-default pull-right">Source <i
|
||||
class="fa fa-file-code-o"></i></a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get payment details</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-primary" >
|
||||
<div class="panel-heading" >
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#sale-transactions" target="_blank">Sale</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-primary" >
|
||||
<div class="panel-heading" >
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#billing-plans-and-agreements" target="_blank">Billing Plan & Agreements</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get payment history</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
@@ -300,34 +189,30 @@
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#vault" target="_blank">Vault</a></h3>
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#sale-transactions"
|
||||
target="_blank">Sale</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get Sale details</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Refund a Sale</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
@@ -336,70 +221,130 @@
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#authorizations" target="_blank">Authorization and capture</a></h3>
|
||||
<h3 class="panel-title"><a
|
||||
href="https://developer.paypal.com/webapps/developer/docs/api/#billing-plans-and-agreements"
|
||||
target="_blank">Billing Plan & Agreements</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Create Billing Plan</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get Billing Plan</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Update/Activate Plan</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Update Plan Payment Definitions/Amount</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>List Billing Plans</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Create Billing Agreement With Credit Card</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Create Billing Agreement With PayPal</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Get Billing Agreement</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Update Billing Agreement</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Suspend Billing Agreement</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Reactivate Billing Agreement</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
@@ -408,61 +353,41 @@
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#payment-experience" target="_blank">Payment Experience</a></h3>
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#vault"
|
||||
target="_blank">Vault</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Save a credit card</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Retrieve saved credit card</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Delete saved credit card</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
@@ -471,61 +396,85 @@
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#invoicing" target="_blank">Invoice</a></h3>
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#authorizations"
|
||||
target="_blank">Authorization and capture</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Authorize Payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get details of an authorized payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Capture an authorized payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Get details of a captured payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Void an authorized payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Reauthorize a payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Refund captured payment</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
@@ -534,60 +483,225 @@
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#identity" target="_blank">Identity (LIPP)</a></h3>
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#payment-experience"
|
||||
target="_blank">Payment Experience</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Create a web experience profile</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-9 "><h5>User Consent Redirect</h5></div>
|
||||
<div class="col-md-3">
|
||||
<a href="doc/lipp/UserConsentRedirect.html" class="btn btn-default pull-right" >Source <i class="fa fa-file-code-o"></i></a>
|
||||
<div class="col-md-8"><h5>Retrieve a web experience profile</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>List web experience profiles</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<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" > 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 class="col-md-8"><h5>Update a web experience profile</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Partially update a web experience profile</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Delete a web experience profile</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#invoicing"
|
||||
target="_blank">Invoice</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Create Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Get Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>List All Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Send Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Remind Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Cancel Invoice</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="https://developer.paypal.com/webapps/developer/docs/api/#identity"
|
||||
target="_blank">Identity (LIPP)</a></h3>
|
||||
</div>
|
||||
<!-- List group -->
|
||||
<ul class="list-group">
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Obtain User's Consent</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>User Consent Redirect</h5></div>
|
||||
<div class="col-md-4">
|
||||
<a href="doc/lipp/UserConsentRedirect.html" class="btn btn-default pull-right">Source <i
|
||||
class="fa fa-file-code-o"></i></a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Get User Info</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
<li class="list-group-item">
|
||||
<div class="row">
|
||||
<div class="col-md-8"><h5>Obtain Access Token From Refresh Token</h5></div>
|
||||
<div class="col-md-4">
|
||||
<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>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- /container -->
|
||||
</div>
|
||||
</div>
|
||||
<!-- /container -->
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="footer-div">
|
||||
<ul class="footer-links">
|
||||
<li>
|
||||
<a href="https://github.com/paypal/PayPal-PHP-SDK" target="_blank"><i class="fa fa-github"></i> Github</a></li>
|
||||
<a href="https://github.com/paypal/PayPal-PHP-SDK" target="_blank"><i class="fa fa-github"></i>
|
||||
Github</a></li>
|
||||
<li>
|
||||
<a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i class="fa fa-book"></i> REST API Reference</a>
|
||||
<a href="https://developer.paypal.com/webapps/developer/docs/api/" target="_blank"><i
|
||||
class="fa fa-book"></i> REST API Reference</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/paypal/PayPal-PHP-SDK/issues" target="_blank"><i class="fa fa-exclamation-triangle"></i> Report Issues </a>
|
||||
<a href="https://github.com/paypal/PayPal-PHP-SDK/issues" target="_blank"><i
|
||||
class="fa fa-exclamation-triangle"></i> Report Issues </a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -603,7 +717,7 @@
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
if(window.location.href.indexOf("htmlpreview.github.io") >= 0) {
|
||||
if (window.location.href.indexOf("htmlpreview.github.io") >= 0) {
|
||||
$(".execute").hide();
|
||||
}
|
||||
});
|
||||
|
||||
@@ -4,19 +4,13 @@
|
||||
// This sample code demonstrate how you can cancel
|
||||
// an invoice.
|
||||
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
/** @var Invoice $invoice */
|
||||
$invoice = require 'SendInvoice.php';
|
||||
|
||||
use PayPal\Api\Invoice;
|
||||
use PayPal\Api\CancelNotification;
|
||||
|
||||
try {
|
||||
// ### Retrieve Invoice
|
||||
// Retrieve the invoice object by calling the
|
||||
// static `get` method
|
||||
// on the Payment class by passing a valid
|
||||
// Invoice ID
|
||||
// (See bootstrap.php for more on `ApiContext`)
|
||||
$invoice = Invoice::get("INV2-CJL7-PF4G-BLQF-5FWG", $apiContext);
|
||||
|
||||
// ### Cancel Notification Object
|
||||
// This would send a notification to both merchant as well
|
||||
|
||||
@@ -108,3 +108,4 @@ try {
|
||||
|
||||
ResultPrinter::printResult("Invoice Creation", "Invoice", $invoice->getId(), $request, $invoice);
|
||||
|
||||
return $invoice;
|
||||
|
||||
@@ -4,10 +4,11 @@
|
||||
// This sample code demonstrate how you can retrieve
|
||||
// an invoice.
|
||||
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
/** @var Invoice $invoice */
|
||||
$invoice = require 'CreateInvoice.php';
|
||||
use PayPal\Api\Invoice;
|
||||
|
||||
$invoiceId = "INV2-W4LC-6QS9-JZ62-VE4P";
|
||||
$invoiceId = $invoice->getId();
|
||||
|
||||
// ### Retrieve Invoice
|
||||
// Retrieve the invoice object by calling the
|
||||
@@ -23,3 +24,5 @@ try {
|
||||
}
|
||||
|
||||
ResultPrinter::printResult("Get Invoice", "Invoice", $invoice->getId(), $invoiceId, $invoice);
|
||||
|
||||
return $invoice;
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
// This sample code demonstrate how you can get
|
||||
// all invoice from history.
|
||||
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
/** @var Invoice $invoice */
|
||||
$invoice = require 'CreateInvoice.php';
|
||||
use PayPal\Api\Invoice;
|
||||
|
||||
try {
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
// This sample code demonstrate how you can remind
|
||||
// an invoice to the payer
|
||||
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
/** @var Invoice $invoice */
|
||||
$invoice = require 'SendInvoice.php';
|
||||
|
||||
use PayPal\Api\Invoice;
|
||||
use PayPal\Api\Notification;
|
||||
@@ -16,7 +17,7 @@ try {
|
||||
// on the Invoice class by passing a valid
|
||||
// Invoice ID
|
||||
// (See bootstrap.php for more on `ApiContext`)
|
||||
$invoice = Invoice::get("INV2-W4LC-6QS9-JZ62-VE4P", $apiContext);
|
||||
$invoice = Invoice::get($invoice->getId(), $apiContext);
|
||||
|
||||
// ### Notification Object
|
||||
// This would send a notification to both merchant as well
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
// This sample code demonstrate how you can send
|
||||
// a legitimate invoice to the payer
|
||||
|
||||
require __DIR__ . '/../bootstrap.php';
|
||||
/** @var Invoice $invoice */
|
||||
$invoice = require 'CreateInvoice.php';
|
||||
|
||||
use PayPal\Api\Invoice;
|
||||
|
||||
@@ -15,7 +16,7 @@ try {
|
||||
// on the Invoice class by passing a valid
|
||||
// Invoice ID
|
||||
// (See bootstrap.php for more on `ApiContext`)
|
||||
$invoice = Invoice::get("INV2-W4LC-6QS9-JZ62-VE4P", $apiContext);
|
||||
$invoice = Invoice::get($invoice->getId(), $apiContext);
|
||||
|
||||
// ### Send Invoice
|
||||
// Send a legitimate invoice to the payer
|
||||
@@ -27,3 +28,5 @@ try {
|
||||
}
|
||||
|
||||
ResultPrinter::printResult("Send Invoice", "Invoice", $invoice->getId(), null, null);
|
||||
|
||||
return $invoice;
|
||||
|
||||
Reference in New Issue
Block a user