ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Robinson <jus...@venturenet.co.za>
Subject Implementing yet another payment gateway...am confused on one point
Date Fri, 17 Jun 2011 15:34:15 GMT
I have the painful task of integrating yet another payment gateway,
why we can't change out gateway to one already supported is beyond me.

I could use some help getting my head around the data model.
PaymentGatewayConfigType
PaymentGatewayConfig
PaymentGatewayNewGateway (I suppose having a table is more secure then
a properties file, but it does confuse things)

I kinda get the picture up to this point.

 <CustomMethod customMethodId="CC_AUTH_NEWGATE"
customMethodTypeId="CC_AUTH" customMethodName="newCateCCProcessor"
description="CC New Gate Authorize"/>

 <ProductStorePaymentSetting productStoreId="9000"
paymentMethodTypeId="CREDIT_CARD"
paymentServiceTypeEnumId="PRDS_PAY_AUTH"
paymentService="subs.ccAuthNewGate"
paymentCustomMethodId="CC_AUTH_NEWGATE"
paymentGatewayConfigId="NEWGATE_CONFIG"/>

Before I discovered the existence of the CustomMethod I defined the
services and thought I was on the way, what I don't get is that if
paymentService="subs.ccAuthNewGate" & subs.ccAuthNewGate gets the job
done, what is  the purpose of
paymentCustomMethodId="CC_AUTH_NEWGATE"..........?

What does the CustomMethod method do in the application layer ...
thought it might be easier to get a tip before I go digging in the
spaghetti of the cart etc.
Thanks in advance.

-- 
Regards,
Justin
Venture-Net Research & Development

Mime
View raw message