[jira] [Commented] (OFBIZ-5624) Payment by Gift Card in Webpos

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

[jira] [Commented] (OFBIZ-5624) Payment by Gift Card in Webpos

Nicolas Malin (Jira)

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

Hoan Dang Van commented on OFBIZ-5624:
--------------------------------------

I checked in PaymentEvents.xml but i not understand what external paymend and internal payment mean
<!--  External Payment -->
                    <if-compare-field field="paymentCheck" operator="equals" to-field="externalPaymentCode">
                        <if-not-empty field="parameters.refNum">
                            <set field="refNum" from-field="parameters.refNum"/>
                            <call-object-method obj-field="webPosTransaction" method-name="processExternalPayment">
                                <field field="paymentType" type="String"/>
                                <field field="context.amountGiftCard" type="BigDecimal"/>
                                <field field="refNum" type="String"/>
                            </call-object-method>
                            <check-errors/>
                        <else>
                            <add-error><fail-property resource="WebPosUiLabels" property="WebPosPaymentGiftCardMissingRefNum"/></add-error>
                            <check-errors/>
                        </else>
                        </if-not-empty>
                    <!--  Internal Payment not yet supported -->
                    <else>
                        <add-error><fail-property resource="WebPosUiLabels" property="WebPosPaymentGiftCardInternal"/></add-error>
                        <check-errors/>
                    </else>
                    </if-compare-field>

> Payment by Gift Card in Webpos
> ------------------------------
>
>                 Key: OFBIZ-5624
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5624
>             Project: OFBiz
>          Issue Type: Bug
>          Components: specialpurpose/webpos
>    Affects Versions: SVN trunk
>            Reporter: Hoan Dang Van
>
> When i execute payment by gift card in webpos, I typed random Gift card ref. num and Gift card amount  as total grand cart, Webpos successfully checkout. I wonder that why i typed random Gift card ref, Webpos successfully checkout.
> And When I add a gift card payment, in webpos's store, with a service type is not external payment(no service), webpos appear a warning "Payment Gift Card Internal not yet supported".



--
This message was sent by Atlassian JIRA
(v6.2#6252)