@@ -88,9 +88,9 @@ if using this API.
8888
8989The Direct gateway methods for handling cards are:
9090
91- * authorize() - with completeAuthorize for 3D Secure and PayPal redirect
92- * purchase() - with completePurchase for 3D Secure and PayPal redirect
93- * createCard() - explicit "standalone" creation of a cardReference or token
91+ * ` authorize() ` - with completeAuthorize for 3D Secure and PayPal redirect
92+ * ` purchase() ` - with completePurchase for 3D Secure and PayPal redirect
93+ * ` createCard() ` - explicit "standalone" creation of a cardReference or token
9494
9595* Note: PayPal is not yet implemented in this driver.*
9696
@@ -129,7 +129,7 @@ $requestMessage = $gateway->purchase([
129129 'currency' => 'GBP',
130130 'card' => $card,
131131 'transactionId' => $transactionId,
132- 'description' => 'Pizzas for everyone',
132+ 'description' => 'Pizzas for everyone at PHPNE ',
133133
134134 // If 3D Secure is enabled, then provide a return URL for
135135 // when the user comes back from 3D Secure authentication.
@@ -158,12 +158,12 @@ if ($responseMessage->isRedirect()) {
158158}
159159```
160160
161- That redirect method is intended just for testing.
162- Create your own instead, within the rules of your framework, using:
161+ That ` redirect() ` method is intended just for demonstration or testing.
162+ Create your own instead, within your framework, using these helpers :
163163
164- * $responseMessage->getRedirectUrl()
165- * $responseMessage->getRedirectMethod()
166- * $responseMessage->getRedirectData()
164+ * ` $responseMessage->getRedirectUrl() `
165+ * ` $responseMessage->getRedirectMethod() `
166+ * ` $responseMessage->getRedirectData() `
167167
168168#### Redirect Return
169169
@@ -248,10 +248,11 @@ Sage Pay Server uses your IP address to authenticate backend access to the
248248gateway, and it also needs to a public URL that it can send back-channel
249249notifications to. This makes development on a localhost server difficult.
250250
251- * authorize()
252- * purchase()
253- * createCard() - explicit "standalone" creation of a cardReference or token
254- * acceptNotification() - Notification Handler for authorize, purchase and explicit cardReference registration
251+ * ` authorize() `
252+ * ` purchase() `
253+ * ` createCard() ` - explicit "standalone" creation of a cardReference or token
254+ * ` acceptNotification() ` - Notification Handler for authorize, purchase and
255+ explicit cardReference registration
255256
256257### Server Gateway
257258
@@ -610,8 +611,8 @@ in the "My Sage Pay" administration panel.
610611
611612Supported functions are:
612613
613- * authorize()
614- * purchase()
614+ * ` authorize() `
615+ * ` purchase() `
615616
616617### Form Authorize
617618
@@ -686,13 +687,13 @@ Note: these functions do not work for the `Form` API.
686687These actions for ` Sage Pay Form ` must be performed manually through the "My Sage Pay"
687688admin panel.
688689
689- * capture()
690- * refund()
691- * void() - void a purchase
692- * abort() - abort an authorization before it is captured
693- * repeatAuthorize() - new authorization based on past transaction
694- * repeatPurchase() - new purchase based on past transaction
695- * deleteCard() - remove a cardReference or token from the accout
690+ * ` capture() `
691+ * ` refund() `
692+ * ` void() ` - void a purchase
693+ * ` abort() ` - abort an authorization before it is captured
694+ * ` repeatAuthorize() ` - new authorization based on past transaction
695+ * ` repeatPurchase() ` - new purchase based on past transaction
696+ * ` deleteCard() ` - remove a cardReference or token from the accout
696697
697698### Repeat Authorize/Purchase
698699
@@ -892,7 +893,6 @@ but is also the only format currently supported by some of the Sage accounting p
892893For applications that require this type of integration, an optional parameter ` useOldBasketFormat `
893894with a value of ` true ` can be passed in the driver's ` initialize() ` method.
894895
895-
896896## Sage 50 Accounts Software Integration
897897
898898The Basket format can be used for Sage 50 Accounts Software Integration:
0 commit comments