|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for objects that are able to process payments in the store. Custom
payment processors must simply implement PaymentProcessor
.
To change or add to the list of payment processors currently active in the
system, modify the "activePaymentProcessors" setting in the
npcSetting
table of the database.
During checkout the Struts layer loops through each of the
"activePaymentFormTemplates" to display a set of payment forms for the user.
Based on the form that user chooses to submit, the Struts layer calls the
"activePaymentProcessor" that corresponds to it. It invokes the
processPayment(Map parameters)
method to process the
submission. The incoming Map
contains the various input
parameters submitted by the user.
The default "activePaymentProcessor" is
BasicPaymentProcessor
.
Method Summary | |
java.util.Map |
processPayment(java.util.Map parameters)
Process the payment for the current user's order. |
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject |
initialize |
Method Detail |
public java.util.Map processPayment(java.util.Map parameters) throws java.lang.Exception
Map
contains the various input parameters submitted by the
user.
parameters
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |