Implementing yet another payment gateway...am confused on one point

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Implementing yet another payment gateway...am confused on one point

justin.g.robinson
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