org.broadleafcommerce.vendor.authorizenet.service.payment
Class AuthorizeNetCheckoutServiceImpl
java.lang.Object
org.broadleafcommerce.vendor.authorizenet.service.payment.AuthorizeNetCheckoutServiceImpl
- All Implemented Interfaces:
- AuthorizeNetCheckoutService
@Service(value="blAuthorizeNetCheckoutService")
public class AuthorizeNetCheckoutServiceImpl
- extends Object
- implements AuthorizeNetCheckoutService
- Author:
- elbertbautista
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BLC_CID
public static final String BLC_CID
- See Also:
- Constant Field Values
BLC_OID
public static final String BLC_OID
- See Also:
- Constant Field Values
BLC_TPS
public static final String BLC_TPS
- See Also:
- Constant Field Values
securePaymentInfoService
protected org.broadleafcommerce.core.payment.service.SecurePaymentInfoService securePaymentInfoService
paymentInfoService
protected org.broadleafcommerce.core.payment.service.PaymentInfoService paymentInfoService
authorizeNetPaymentService
protected AuthorizeNetPaymentService authorizeNetPaymentService
checkoutService
protected org.broadleafcommerce.core.checkout.service.CheckoutService checkoutService
orderService
protected org.broadleafcommerce.core.order.service.OrderService orderService
AuthorizeNetCheckoutServiceImpl
public AuthorizeNetCheckoutServiceImpl()
findCartForCustomer
public org.broadleafcommerce.core.order.domain.Order findCartForCustomer(Map<String,String[]> responseMap)
throws InvalidKeyException,
NoSuchAlgorithmException
- Description copied from interface:
AuthorizeNetCheckoutService
- Returns the
Order corresponding to the orderId gleaned from the response map
- Specified by:
findCartForCustomer in interface AuthorizeNetCheckoutService
- Returns:
- null if
Order.getStatus() of the order from responseMap is anything other than
IN_PROCESS or if there is a problem with tps or MD5 keys. Otherwise this will return the Order corresponding
to the 'blc_oid' parameter
- Throws:
InvalidKeyException
NoSuchAlgorithmException- See Also:
AuthorizeNetCheckoutServiceImpl#BLC_OID}
completeAuthorizeAndDebitCheckout
public org.broadleafcommerce.core.checkout.service.workflow.CheckoutResponse completeAuthorizeAndDebitCheckout(org.broadleafcommerce.core.order.domain.Order order,
Map<String,String[]> responseMap)
throws org.broadleafcommerce.core.checkout.service.exception.CheckoutException
- Specified by:
completeAuthorizeAndDebitCheckout in interface AuthorizeNetCheckoutService
- Throws:
org.broadleafcommerce.core.checkout.service.exception.CheckoutException
constructAuthorizeAndDebitFields
public Map<String,String> constructAuthorizeAndDebitFields(org.broadleafcommerce.core.order.domain.Order order)
throws InvalidKeyException,
NoSuchAlgorithmException
- Specified by:
constructAuthorizeAndDebitFields in interface AuthorizeNetCheckoutService
- Throws:
InvalidKeyException
NoSuchAlgorithmException
buildRelayResponse
public String buildRelayResponse(String receiptUrl)
- Specified by:
buildRelayResponse in interface AuthorizeNetCheckoutService
createTamperProofSeal
public String createTamperProofSeal(Long customerId,
Long orderId)
throws NoSuchAlgorithmException,
InvalidKeyException
- Specified by:
createTamperProofSeal in interface AuthorizeNetCheckoutService
- Throws:
NoSuchAlgorithmException
InvalidKeyException
Copyright © 2012. All Rights Reserved.