[ 
https://issues.apache.org/jira/browse/OFBIZ-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695834#action_12695834
 ] 

Marco Risaliti commented on OFBIZ-2269:
---------------------------------------

Thanks a lot Jacopo for your suggestion on payment service of "product store 
payment setup".
What did you think about this  ?

<CustomMethodType customMethodTypeId="CC_AUTH" parentTypeId="" hasTable="N" 
description="Credit Card authorize methods"/>

<CustomMethod customMethodId="AUTH_TEST" customMethodTypeId="CC_AUTH" 
customMethodName="testCCCapture" description="Test authorize"/>
<CustomMethod customMethodId="AUTH_AIM" customMethodTypeId="CC_AUTH" 
customMethodName="AIMCCAuth" description="Authorize dot net authorize"/>
<CustomMethod customMethodId="AUTH_CLEARCOMMERCE" customMethodTypeId="CC_AUTH" 
customMethodName="clearCommerceCCAuth" description="Clear Commerce authorize"/>
<CustomMethod customMethodId="AUTH_PAYFLOW" customMethodTypeId="CC_AUTH" 
customMethodName="payflowCCProcessor" description="Payflow Pro authorize"/>
<CustomMethod customMethodId="AUTH_ALWAYSAPPROVE" customMethodTypeId="CC_AUTH" 
customMethodName="alwaysApproveCCProcessor" description="Always approve 
authorize"/>

in ProductStorePaymentSetting entity add the following relation:

<relation type="one" fk-name="PRDS_PS_CUS_MET" rel-entity-name="CustomMethod">
    <key-map field-name="paymentService" rel-field-name="customMethodId"/>
</relation>

in this case we have to change the datas into ProductStorePaymentSetting like 
here:

from
<ProductStorePaymentSetting productStoreId="9000" 
paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" 
paymentService="alwaysApproveCCProcessor"/>

to
<ProductStorePaymentSetting productStoreId="9000" 
paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" 
paymentService="AUTH_ALWAYSAPPROVE"/>

What did you think of it ?

Thanks
Marco

> Move payment.properties to PaymentGatewayConfig entities
> --------------------------------------------------------
>
>                 Key: OFBIZ-2269
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2269
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ALL COMPONENTS
>    Affects Versions: SVN trunk
>            Reporter: Marco Risaliti
>            Assignee: Marco Risaliti
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: Payment Gateway Configuration.pdf, 
> PaymentGateways.patch, Product Store Payments.pdf
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to