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

William Perng commented on OFBIZ-2001:
--------------------------------------

1.  Yes, you are right.  The problem is nothing to do with the issue 255.  I am 
just trying to describe the function I would like to discuss here is introduced 
in issue 255.
2. I don't have log.
3. Here are the Scenarios I test : 
     a.  The authorization is successful, the capture is declined, the reauth 
is failed and the "ship if capature is failed" is set to N -- The error message 
will be shown in the pack page.  The transaction is rolled back.  It looks 
correct but the capture transaction record doesn't exist in 
PaymentGatewayResponse table, because the roll back removes it.  There will be 
two authorization records in order detail page, but no capture record.   In my 
personal opinion, the credit card problem should not throw exception, it should 
be processed by program flow.  
    b. The authorization is successful, the capture is declined, the reauth is 
successful and the "ship if capature is failed" is set to N --  There will be 
no error message in the pack page.  The order status will be "complete".  The 
order detail page will have 2 authorization record and 1 capture record.  
However, the 2nd authorization record will not be captured automatically.   (Is 
there any setting for automatic capture after reauth ?).  When this happens, 
the order will be shipped even the capture has not happened, since the order 
status is complete.



> Ship If Capture Fails option in productstore doesn't work
> ---------------------------------------------------------
>
>                 Key: OFBIZ-2001
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-2001
>             Project: OFBiz
>          Issue Type: Bug
>          Components: accounting
>    Affects Versions: SVN trunk
>         Environment: trunk version 703450
>            Reporter: William Perng
>
> This issue is related to the function introduced in issue ofbiz-558.  Order 
> status is still changed to "complete" after packing even this option is 
> turned on and credit card capature is failed.  The right behavior should 
> display "Cannot ship order because credit card captures were unsuccessful" 
> error message.

-- 
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