@Service(value="blAuthorizeNetCheckoutService") public class AuthorizeNetCheckoutServiceImpl extends Object implements AuthorizeNetCheckoutService
| Modifier and Type | Field and Description |
|---|---|
static String |
BLC_CID |
static String |
BLC_OID |
static String |
BLC_TPS |
protected AuthorizeNetConfiguration |
configuration |
| Constructor and Description |
|---|
AuthorizeNetCheckoutServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildRelayResponse(String receiptUrl,
net.authorize.sim.Result result)
Builds the Javascript snippet necessary
|
String |
createTamperProofSeal(String customerId,
String orderId)
Creates a seal for the current customer and order combined with the Authorize.net private key to verify that
requests and responses actually came from Broadleaf.
|
boolean |
verifyTamperProofSeal(String customerId,
String orderId,
String tps)
Verifies that the given tamper proof seal is valid for the given customer and order
|
public static final String BLC_CID
public static final String BLC_OID
public static final String BLC_TPS
protected AuthorizeNetConfiguration configuration
public String buildRelayResponse(String receiptUrl, net.authorize.sim.Result result)
AuthorizeNetCheckoutServicebuildRelayResponse in interface AuthorizeNetCheckoutServicepublic String createTamperProofSeal(String customerId, String orderId) throws NoSuchAlgorithmException, InvalidKeyException
AuthorizeNetCheckoutServicecreateTamperProofSeal in interface AuthorizeNetCheckoutServiceNoSuchAlgorithmExceptionInvalidKeyException#createTamperProofSeal(String, String)}public boolean verifyTamperProofSeal(String customerId, String orderId, String tps)
AuthorizeNetCheckoutServiceverifyTamperProofSeal in interface AuthorizeNetCheckoutService#createTamperProofSeal(String, String)}Copyright © 2015. All Rights Reserved.