Skip to content

Commit 0ac3c7e

Browse files
committed
Update README.md
1 parent d251a98 commit 0ac3c7e

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ capture basic auth/capture (product purchase) functionality, which most
7575
integrations are looking to get started with.
7676

7777
A simple auth/capture can be performed with the following code (JSP) :
78-
````
78+
````jsp
7979
<%@ page import="java.math.BigDecimal" %>
8080
<%@ page import="java.util.Map" %>
8181
<%@ page import="net.authorize.Environment" %>
@@ -125,7 +125,7 @@ There are some sample unit tests that are located in the test directory. Simila
125125
to the AIM test, however they leverage the Card Present API.
126126

127127
A simple auth/capture can be performed with the following code (JSP) :
128-
````
128+
````jsp
129129
<%@ page import="java.math.BigDecimal" %>
130130
<%@ page import="java.util.Map" %>
131131
<%@ page import="net.authorize.Environment" %>
@@ -180,7 +180,7 @@ Test Code - Server Integration Method (SIM)
180180
The SDK implementation for SIM is fairly concise. To easily create a finger-
181181
print for your form POST, you can reference the following code :
182182

183-
````
183+
````java
184184
Fingerprint fingerprint = Fingerprint.createFingerprint(
185185
"YOUR_API_LOGIN_ID",
186186
"YOUR_TRANSACTION_KEY",
@@ -197,15 +197,15 @@ Parsing a Relay Response is performed by using the ResponseParser class.
197197
It takes as it's only method parameter a pipe (|) delimited string
198198
that represents the transaction response passed to the merchant by
199199
Authorize.net.
200-
````
200+
````java
201201
HashMap<ResponseField, String> responseMap =
202202
ResponseParser.parseResponseString(responseString);
203203
````
204204

205205
Setting up the necessary data containers and getting a form that can be
206206
displayed directly on the page can be performed via the following code (JSP) :
207207

208-
````
208+
````jsp
209209
<%@ page import="net.authorize.sim.*" %>
210210
<%@ page import="net.authorize.sim.button.*" %>
211211
<%@ page import="net.authorize.data.*" %>
@@ -254,7 +254,7 @@ your public facing MERCHANT_HOST domain name. Note, you may want to alter the
254254
relayResponseUrl and place the jsp in a separate webapp container of your
255255
choosing.
256256

257-
````
257+
````jsp
258258
259259
==================
260260
form.jsp
@@ -306,7 +306,7 @@ MD5_HASH_KEY. Unless you have explicitly set this in the merchant interface:
306306
Account > Settings > Security Settings > MD5-Hash, leave this as an empty
307307
string.
308308

309-
````
309+
````jsp
310310
==================
311311
relay_response.jsp
312312
==================
@@ -372,7 +372,7 @@ string.
372372
* Create a page, called order_receipt.jsp, that will host the receipt
373373
information. This is what the user will finally see.
374374

375-
````
375+
````jsp
376376
=================
377377
order_receipt.jsp
378378
=================
@@ -440,7 +440,7 @@ capture basic create/update/cancel/get subscription recurring billing requests.
440440

441441
A simple subscription creation can be performed with the following code (JSP) :
442442

443-
````
443+
````jsp
444444
<%@ page import="java.math.BigDecimal" %>
445445
<%@ page import="net.authorize.Merchant" %>
446446
<%@ page import="net.authorize.Environment" %>
@@ -515,7 +515,7 @@ information, including payment and address information.
515515

516516
A simple customer profile can be created with the following code (JSP) :
517517

518-
````
518+
````jsp
519519
<%@ page import="net.authorize.Merchant" %>
520520
<%@ page import="net.authorize.Environment" %>
521521
<%@ page import="net.authorize.Transaction" %>
@@ -585,7 +585,7 @@ There are some sample unit tests that are located in the test directory. They
585585
capture requests that retrieve transaction data that was processed by Authorize.Net.
586586

587587
A simple batch list request can be created with the following code (JSP) :
588-
````
588+
````jsp
589589
<%@ page import="net.authorize.Merchant" %>
590590
<%@ page import="net.authorize.Environment" %>
591591
<%@ page import="net.authorize.Transaction" %>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy