Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

request: processpayment, invoke java event: CheckOutEvents:processPayment, responses = success|fail|error, values = clearcartfororder|checkouterror|checkoutreview

java: CheckOutEvents.processpayment

String processPayment(HttpServletRequest request, HttpServletResponse response)

3 return(failureCode) codes: "success = 0", "fail = 1", and "error = 2"

calls:if (!processPayment(request))

private static boolean processPayment(HttpServletRequest request)

calls:

  • ProductStoreWorker.getProductStore
  • checkOutHelper.processPayment

public Map processPayment(GenericValue productStore, GenericValue userLogin, boolean faceToFace, boolean manualHold)

calls:

public static Map processPayment(String orderId, BigDecimal orderTotal, String currencyUomId, GenericValue productStore, GenericValue userLogin, boolean faceToFace, boolean manualHold, LocalDispatcher dispatcher, GenericDelegator delegator)