[
https://issues.apache.org/jira/browse/OFBIZ-5911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294946#comment-14294946
]
Pranay Pandey commented on OFBIZ-5911:
--------------------------------------
Hi Prateek,
This is a question and is expected behavior.
Data in Gift card entity is not populated at the time of gift card purchase
because it is not the way gift card process work in OFBiz.
When a gift card is purchased, a financial account is created for the same. At
the time of making payments using this gift card (using provided card number &
pin), a record is generated in GiftCard entity for this payment. Its having
association with PaymentMethod. GiftCard entity is used at the time of using
gift card for making payment. In other words a record in GiftCard entity
doesn't represent a gift card voucher, its a payment record using particular
gift card.
For question like this please use mailing list -
http://ofbiz.apache.org/mailing-lists.html
> Apache OFBiz, "gift_card" table is not populating records for gift card
> purchase
> --------------------------------------------------------------------------------
>
> Key: OFBIZ-5911
> URL: https://issues.apache.org/jira/browse/OFBIZ-5911
> Project: OFBiz
> Issue Type: Bug
> Reporter: Prateek
> Assignee: Pranay Pandey
>
> When I'm purchasing a gift card from OFBiz Apache eCommerce portal, I can see
> data is populating in the following tables only but not in "gift_card".
> The list of tables which are populating records for gift card purchase
> - order_item
> - order_header
> - fin_account,
> - gift_card_fulfillment,
> Could anyone please look why data is not populating in a "gift_card" table
> and what is the use of this table?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)