@@ -75,7 +75,7 @@ capture basic auth/capture (product purchase) functionality, which most
75
75
integrations are looking to get started with.
76
76
77
77
A simple auth/capture can be performed with the following code (JSP) :
78
- ````
78
+ ```` jsp
79
79
<%@ page import="java.math.BigDecimal" %>
80
80
<%@ page import="java.util.Map" %>
81
81
<%@ page import="net.authorize.Environment" %>
@@ -125,7 +125,7 @@ There are some sample unit tests that are located in the test directory. Simila
125
125
to the AIM test, however they leverage the Card Present API.
126
126
127
127
A simple auth/capture can be performed with the following code (JSP) :
128
- ````
128
+ ```` jsp
129
129
<%@ page import="java.math.BigDecimal" %>
130
130
<%@ page import="java.util.Map" %>
131
131
<%@ page import="net.authorize.Environment" %>
@@ -180,7 +180,7 @@ Test Code - Server Integration Method (SIM)
180
180
The SDK implementation for SIM is fairly concise. To easily create a finger-
181
181
print for your form POST, you can reference the following code :
182
182
183
- ````
183
+ ```` java
184
184
Fingerprint fingerprint = Fingerprint . createFingerprint(
185
185
" YOUR_API_LOGIN_ID" ,
186
186
" YOUR_TRANSACTION_KEY" ,
@@ -197,15 +197,15 @@ Parsing a Relay Response is performed by using the ResponseParser class.
197
197
It takes as it's only method parameter a pipe (|) delimited string
198
198
that represents the transaction response passed to the merchant by
199
199
Authorize.net.
200
- ````
200
+ ```` java
201
201
HashMap<ResponseField , String > responseMap =
202
202
ResponseParser . parseResponseString(responseString);
203
203
````
204
204
205
205
Setting up the necessary data containers and getting a form that can be
206
206
displayed directly on the page can be performed via the following code (JSP) :
207
207
208
- ````
208
+ ```` jsp
209
209
<%@ page import="net.authorize.sim.*" %>
210
210
<%@ page import="net.authorize.sim.button.*" %>
211
211
<%@ page import="net.authorize.data.*" %>
@@ -254,7 +254,7 @@ your public facing MERCHANT_HOST domain name. Note, you may want to alter the
254
254
relayResponseUrl and place the jsp in a separate webapp container of your
255
255
choosing.
256
256
257
- ````
257
+ ```` jsp
258
258
259
259
==================
260
260
form.jsp
@@ -306,7 +306,7 @@ MD5_HASH_KEY. Unless you have explicitly set this in the merchant interface:
306
306
Account > Settings > Security Settings > MD5-Hash, leave this as an empty
307
307
string.
308
308
309
- ````
309
+ ```` jsp
310
310
==================
311
311
relay_response.jsp
312
312
==================
@@ -372,7 +372,7 @@ string.
372
372
* Create a page, called order_receipt.jsp, that will host the receipt
373
373
information. This is what the user will finally see.
374
374
375
- ````
375
+ ```` jsp
376
376
=================
377
377
order_receipt.jsp
378
378
=================
@@ -440,7 +440,7 @@ capture basic create/update/cancel/get subscription recurring billing requests.
440
440
441
441
A simple subscription creation can be performed with the following code (JSP) :
442
442
443
- ````
443
+ ```` jsp
444
444
<%@ page import="java.math.BigDecimal" %>
445
445
<%@ page import="net.authorize.Merchant" %>
446
446
<%@ page import="net.authorize.Environment" %>
@@ -515,7 +515,7 @@ information, including payment and address information.
515
515
516
516
A simple customer profile can be created with the following code (JSP) :
517
517
518
- ````
518
+ ```` jsp
519
519
<%@ page import="net.authorize.Merchant" %>
520
520
<%@ page import="net.authorize.Environment" %>
521
521
<%@ page import="net.authorize.Transaction" %>
@@ -585,7 +585,7 @@ There are some sample unit tests that are located in the test directory. They
585
585
capture requests that retrieve transaction data that was processed by Authorize.Net.
586
586
587
587
A simple batch list request can be created with the following code (JSP) :
588
- ````
588
+ ```` jsp
589
589
<%@ page import="net.authorize.Merchant" %>
590
590
<%@ page import="net.authorize.Environment" %>
591
591
<%@ page import="net.authorize.Transaction" %>
0 commit comments