From e927298a40358ea73030504df16d8b99486c09a5 Mon Sep 17 00:00:00 2001
From: aydiv
Date: Mon, 26 Aug 2013 14:21:28 +0530
Subject: [PATCH] Minor text changes in sample code comments
---
sample/payments/CreatePayment.php | 4 ++--
sample/source/CreatePayment.html | 6 +++---
sample/source/DeleteCreditCard.html | 4 ++--
sample/vault/DeleteCreditCard.php | 2 +-
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sample/payments/CreatePayment.php b/sample/payments/CreatePayment.php
index ccbfa76..5c17c7e 100644
--- a/sample/payments/CreatePayment.php
+++ b/sample/payments/CreatePayment.php
@@ -81,8 +81,8 @@ $payment->setIntent("sale")
->setTransactions(array($transaction));
// ### Create Payment
-// Create a payment by posting to the APIService
-// using a valid ApiContext (See bootstrap.php for more on `ApiContext`)
+// Create a payment by calling the payment->create() method
+// with a valid ApiContext (See bootstrap.php for more on `ApiContext`)
// The return object contains the state.
try {
$payment->create($apiContext);
diff --git a/sample/source/CreatePayment.html b/sample/source/CreatePayment.html
index e3f1073..e1c57d2 100644
--- a/sample/source/CreatePayment.html
+++ b/sample/source/CreatePayment.html
@@ -60,8 +60,8 @@ the above types and intent set to sale 'sale'
<
->setPayer($payer)
->setTransactions(array($transaction));
try {
$payment->create($apiContext);
} catch (PayPal\Exception\PPConnectionException $ex) {
@@ -82,4 +82,4 @@ The return object contains the state.
<pre><?php var_dump($payment->toArray());?></pre>
<a href='../index.html'>Back</a>
</body>
-</html>
Create Payment
-Create a payment by posting to the APIService -using a valid ApiContext (See bootstrap.php for more on
ApiContext) +Create a payment by calling the payment->create() method +with a valid ApiContext (See bootstrap.php for more on
ApiContext) The return object contains the state.