Hi,
I create a purchase order and try to click "Quick Receive Purchase Order" to receive it. But I got an exception, if the "Ship if capture fail" option is turned on in product store. The exception is "Error trying to begin transaction, could not process method: The current transaction is marked for rollback, not beginning a new transaction and aborting current operation; the rollbackOnly was caused by: Error in Service [captureOrderPayments]: Cannot ship order because credit card captures were unsuccessful calling service balanceInventoryItems in receiveInventoryProduct". I don't see anywhere I can give this purchase an payment method. Since all my purchase orders will be paid by offline payment, can anyone please tell me how to solve this ? William |
looks like your using the testcapture, for your SO order.
this is meant for demo only. you need to have a payment setup for orders(not Purchase orders) https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 The Test services do not support the return values. look in the user ML archive for 9/26/2008 12:07 AM subject:Re: Could you please tell me the reason for this problem [hidden email] sent the following on 10/25/2008 3:51 PM: > Hi, > > I create a purchase order and try to click "Quick Receive Purchase > Order" to receive it. But I got an exception, if the "Ship if capture > fail" option is turned on in product store. > > The exception is "Error trying to begin transaction, could not process > method: The current transaction is marked for rollback, not beginning a > new transaction and aborting current operation; the rollbackOnly was > caused by: Error in Service [captureOrderPayments]: Cannot ship order > because credit card captures were unsuccessful calling service > balanceInventoryItems in receiveInventoryProduct". > > I don't see anywhere I can give this purchase an payment method. Since > all my purchase orders will be paid by offline payment, can anyone > please tell me how to solve this ? > > William > > |
Thank you for your response. But my question is a PO only question.
It is nothing to do with the SO. Sales Orders work fine for me. I do have all credit settings for SO. But I am getting problem on receiving PO (Purchase Order). Thanks William Quoting BJ Freeman <[hidden email]>: > looks like your using the testcapture, for your SO order. > this is meant for demo only. > you need to have a payment setup for orders(not Purchase orders) > https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 > The Test services do not support the return values. > look in the user ML archive for > 9/26/2008 12:07 AM > subject:Re: Could you please tell me the reason for this problem > > [hidden email] sent the following on 10/25/2008 3:51 PM: >> Hi, >> >> I create a purchase order and try to click "Quick Receive Purchase >> Order" to receive it. But I got an exception, if the "Ship if capture >> fail" option is turned on in product store. >> >> The exception is "Error trying to begin transaction, could not process >> method: The current transaction is marked for rollback, not beginning a >> new transaction and aborting current operation; the rollbackOnly was >> caused by: Error in Service [captureOrderPayments]: Cannot ship order >> because credit card captures were unsuccessful calling service >> balanceInventoryItems in receiveInventoryProduct". >> >> I don't see anywhere I can give this purchase an payment method. Since >> all my purchase orders will be paid by offline payment, can anyone >> please tell me how to solve this ? >> >> William >> >> > |
I will look at this more, a little later.
here is what I see. you received the item that is on an Purchage order, that works. now the Sales order is being processed (capture), since it is complete. Now there is one of two senarios 1) the payments routines that are in the same OrderServices.java don't distinquish between PO and SO 2) The SO is being process after the PO is completed if #2 is true then if you are using a CC processor that does not follow the return parms then the captureOrderPayments fails. so either you need to: 1) remove the CC entries from the product store if they are using the default services 2) put in CC services and patch to return appropriate info 3) remove the CC services completely. [hidden email] sent the following on 10/26/2008 7:05 AM: > Thank you for your response. But my question is a PO only question. It > is nothing to do with the SO. Sales Orders work fine for me. I do have > all credit settings for SO. But I am getting problem on receiving PO > (Purchase Order). > > Thanks > > William > > Quoting BJ Freeman <[hidden email]>: > >> looks like your using the testcapture, for your SO order. >> this is meant for demo only. >> you need to have a payment setup for orders(not Purchase orders) >> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >> >> The Test services do not support the return values. >> look in the user ML archive for >> 9/26/2008 12:07 AM >> subject:Re: Could you please tell me the reason for this problem >> >> [hidden email] sent the following on 10/25/2008 3:51 PM: >>> Hi, >>> >>> I create a purchase order and try to click "Quick Receive Purchase >>> Order" to receive it. But I got an exception, if the "Ship if capture >>> fail" option is turned on in product store. >>> >>> The exception is "Error trying to begin transaction, could not process >>> method: The current transaction is marked for rollback, not beginning a >>> new transaction and aborting current operation; the rollbackOnly was >>> caused by: Error in Service [captureOrderPayments]: Cannot ship order >>> because credit card captures were unsuccessful calling service >>> balanceInventoryItems in receiveInventoryProduct". >>> >>> I don't see anywhere I can give this purchase an payment method. Since >>> all my purchase orders will be paid by offline payment, can anyone >>> please tell me how to solve this ? >>> >>> William >>> >>> >> > > > > |
I may not state my question well. I thought my question is nothing to
do with the SO. My problem happens when I am trying to receive a purchase order. There is no SO involved in this case, and this is NOT a case of drop shipping. The only thing I am trying to do is create a purchase order and try to receive the order with "ship if capture failed" turned on. The exception says the capture on credit card is failed. If the purchase order do need a payment method, please let me know which page I can provide it. I want to provide my purchase order an offline payment. William Quoting BJ Freeman <[hidden email]>: > I will look at this more, a little later. > > here is what I see. you received the item that is on an Purchage order, > that works. > now the Sales order is being processed (capture), since it is complete. > Now there is one of two senarios > 1) the payments routines that are in the same OrderServices.java don't > distinquish between PO and SO > 2) The SO is being process after the PO is completed > if #2 is true then > if you are using a CC processor that does not follow the return parms > then the > captureOrderPayments fails. > so either you need to: > 1) remove the CC entries from the product store if they are using the > default services > 2) put in CC services and patch to return appropriate info > 3) remove the CC services completely. > > [hidden email] sent the following on 10/26/2008 7:05 AM: >> Thank you for your response. But my question is a PO only question. It >> is nothing to do with the SO. Sales Orders work fine for me. I do have >> all credit settings for SO. But I am getting problem on receiving PO >> (Purchase Order). >> >> Thanks >> >> William >> >> Quoting BJ Freeman <[hidden email]>: >> >>> looks like your using the testcapture, for your SO order. >>> this is meant for demo only. >>> you need to have a payment setup for orders(not Purchase orders) >>> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >>> >>> The Test services do not support the return values. >>> look in the user ML archive for >>> 9/26/2008 12:07 AM >>> subject:Re: Could you please tell me the reason for this problem >>> >>> [hidden email] sent the following on 10/25/2008 3:51 PM: >>>> Hi, >>>> >>>> I create a purchase order and try to click "Quick Receive Purchase >>>> Order" to receive it. But I got an exception, if the "Ship if capture >>>> fail" option is turned on in product store. >>>> >>>> The exception is "Error trying to begin transaction, could not process >>>> method: The current transaction is marked for rollback, not beginning a >>>> new transaction and aborting current operation; the rollbackOnly was >>>> caused by: Error in Service [captureOrderPayments]: Cannot ship order >>>> because credit card captures were unsuccessful calling service >>>> balanceInventoryItems in receiveInventoryProduct". >>>> >>>> I don't see anywhere I can give this purchase an payment method. Since >>>> all my purchase orders will be paid by offline payment, can anyone >>>> please tell me how to solve this ? >>>> >>>> William >>>> >>>> >>> >> >> >> >> > |
"ship if capture failed "
has to do with SO only. PO creates an invoice that you then pay. to clarify, you have no SO this PO is related to? then I suggest yo open a Jira. [hidden email] sent the following on 10/26/2008 12:48 PM: > I may not state my question well. I thought my question is nothing to > do with the SO. My problem happens when I am trying to receive a > purchase order. There is no SO involved in this case, and this is NOT a > case of drop shipping. The only thing I am trying to do is create a > purchase order and try to receive the order with "ship if capture > failed" turned on. The exception says the capture on credit card is > failed. If the purchase order do need a payment method, please let me > know which page I can provide it. I want to provide my purchase order > an offline payment. > > William > > > Quoting BJ Freeman <[hidden email]>: > >> I will look at this more, a little later. >> >> here is what I see. you received the item that is on an Purchage order, >> that works. >> now the Sales order is being processed (capture), since it is complete. >> Now there is one of two senarios >> 1) the payments routines that are in the same OrderServices.java don't >> distinquish between PO and SO >> 2) The SO is being process after the PO is completed >> if #2 is true then >> if you are using a CC processor that does not follow the return parms >> then the >> captureOrderPayments fails. >> so either you need to: >> 1) remove the CC entries from the product store if they are using the >> default services >> 2) put in CC services and patch to return appropriate info >> 3) remove the CC services completely. >> >> [hidden email] sent the following on 10/26/2008 7:05 AM: >>> Thank you for your response. But my question is a PO only question. It >>> is nothing to do with the SO. Sales Orders work fine for me. I do have >>> all credit settings for SO. But I am getting problem on receiving PO >>> (Purchase Order). >>> >>> Thanks >>> >>> William >>> >>> Quoting BJ Freeman <[hidden email]>: >>> >>>> looks like your using the testcapture, for your SO order. >>>> this is meant for demo only. >>>> you need to have a payment setup for orders(not Purchase orders) >>>> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >>>> >>>> >>>> The Test services do not support the return values. >>>> look in the user ML archive for >>>> 9/26/2008 12:07 AM >>>> subject:Re: Could you please tell me the reason for this problem >>>> >>>> [hidden email] sent the following on 10/25/2008 3:51 PM: >>>>> Hi, >>>>> >>>>> I create a purchase order and try to click "Quick Receive Purchase >>>>> Order" to receive it. But I got an exception, if the "Ship if capture >>>>> fail" option is turned on in product store. >>>>> >>>>> The exception is "Error trying to begin transaction, could not process >>>>> method: The current transaction is marked for rollback, not >>>>> beginning a >>>>> new transaction and aborting current operation; the rollbackOnly was >>>>> caused by: Error in Service [captureOrderPayments]: Cannot ship order >>>>> because credit card captures were unsuccessful calling service >>>>> balanceInventoryItems in receiveInventoryProduct". >>>>> >>>>> I don't see anywhere I can give this purchase an payment method. >>>>> Since >>>>> all my purchase orders will be paid by offline payment, can anyone >>>>> please tell me how to solve this ? >>>>> >>>>> William >>>>> >>>>> >>>> >>> >>> >>> >>> >> > > > > |
Administrator
|
In reply to this post by wperng
Why would you want to deal with the payment ? It's not your duty but your provider isn'it ?
Else please explain your specific scenario Jacques From: <[hidden email]> >I may not state my question well. I thought my question is nothing to > do with the SO. My problem happens when I am trying to receive a > purchase order. There is no SO involved in this case, and this is NOT > a case of drop shipping. The only thing I am trying to do is create a > purchase order and try to receive the order with "ship if capture > failed" turned on. The exception says the capture on credit card is > failed. If the purchase order do need a payment method, please let me > know which page I can provide it. I want to provide my purchase order > an offline payment. > > William > > > Quoting BJ Freeman <[hidden email]>: > >> I will look at this more, a little later. >> >> here is what I see. you received the item that is on an Purchage order, >> that works. >> now the Sales order is being processed (capture), since it is complete. >> Now there is one of two senarios >> 1) the payments routines that are in the same OrderServices.java don't >> distinquish between PO and SO >> 2) The SO is being process after the PO is completed >> if #2 is true then >> if you are using a CC processor that does not follow the return parms >> then the >> captureOrderPayments fails. >> so either you need to: >> 1) remove the CC entries from the product store if they are using the >> default services >> 2) put in CC services and patch to return appropriate info >> 3) remove the CC services completely. >> >> [hidden email] sent the following on 10/26/2008 7:05 AM: >>> Thank you for your response. But my question is a PO only question. It >>> is nothing to do with the SO. Sales Orders work fine for me. I do have >>> all credit settings for SO. But I am getting problem on receiving PO >>> (Purchase Order). >>> >>> Thanks >>> >>> William >>> >>> Quoting BJ Freeman <[hidden email]>: >>> >>>> looks like your using the testcapture, for your SO order. >>>> this is meant for demo only. >>>> you need to have a payment setup for orders(not Purchase orders) >>>> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >>>> >>>> The Test services do not support the return values. >>>> look in the user ML archive for >>>> 9/26/2008 12:07 AM >>>> subject:Re: Could you please tell me the reason for this problem >>>> >>>> [hidden email] sent the following on 10/25/2008 3:51 PM: >>>>> Hi, >>>>> >>>>> I create a purchase order and try to click "Quick Receive Purchase >>>>> Order" to receive it. But I got an exception, if the "Ship if capture >>>>> fail" option is turned on in product store. >>>>> >>>>> The exception is "Error trying to begin transaction, could not process >>>>> method: The current transaction is marked for rollback, not beginning a >>>>> new transaction and aborting current operation; the rollbackOnly was >>>>> caused by: Error in Service [captureOrderPayments]: Cannot ship order >>>>> because credit card captures were unsuccessful calling service >>>>> balanceInventoryItems in receiveInventoryProduct". >>>>> >>>>> I don't see anywhere I can give this purchase an payment method. Since >>>>> all my purchase orders will be paid by offline payment, can anyone >>>>> please tell me how to solve this ? >>>>> >>>>> William >>>>> >>>>> >>>> >>> >>> >>> >>> >> > > > |
I don't want to deal with payment, because this is a purchase order.
However, if I have "ship if capture failed" tuned off (set it to N), I got an exception when I receive the purchase order. The exception is something related to payment. Please see the first post for the exception. The scenerio is very simple. I created a purchase order and try to receive it. I got an exception which said something related to credit card capture. This excetpion happens only when "ship if capture failed" is set to "N". If I have "ship if capture failed" tuned on (set it to Y), it works fine. I understand the "ship if capture fail" is nothing to do with purchase order. But this switch is important when someone wants to reproduce this issue. S/he won't see the problem, if it is set to "Y". Thanks William Quoting Jacques Le Roux <[hidden email]>: > Why would you want to deal with the payment ? It's not your duty but > your provider isn'it ? > Else please explain your specific scenario > > Jacques > > From: <[hidden email]> >> I may not state my question well. I thought my question is nothing >> to do with the SO. My problem happens when I am trying to receive >> a purchase order. There is no SO involved in this case, and this >> is NOT a case of drop shipping. The only thing I am trying to do >> is create a purchase order and try to receive the order with "ship >> if capture failed" turned on. The exception says the capture on >> credit card is failed. If the purchase order do need a payment >> method, please let me know which page I can provide it. I want to >> provide my purchase order an offline payment. >> >> William >> >> >> Quoting BJ Freeman <[hidden email]>: >> >>> I will look at this more, a little later. >>> >>> here is what I see. you received the item that is on an Purchage order, >>> that works. >>> now the Sales order is being processed (capture), since it is complete. >>> Now there is one of two senarios >>> 1) the payments routines that are in the same OrderServices.java don't >>> distinquish between PO and SO >>> 2) The SO is being process after the PO is completed >>> if #2 is true then >>> if you are using a CC processor that does not follow the return parms >>> then the >>> captureOrderPayments fails. >>> so either you need to: >>> 1) remove the CC entries from the product store if they are using the >>> default services >>> 2) put in CC services and patch to return appropriate info >>> 3) remove the CC services completely. >>> >>> [hidden email] sent the following on 10/26/2008 7:05 AM: >>>> Thank you for your response. But my question is a PO only question. It >>>> is nothing to do with the SO. Sales Orders work fine for me. I do have >>>> all credit settings for SO. But I am getting problem on receiving PO >>>> (Purchase Order). >>>> >>>> Thanks >>>> >>>> William >>>> >>>> Quoting BJ Freeman <[hidden email]>: >>>> >>>>> looks like your using the testcapture, for your SO order. >>>>> this is meant for demo only. >>>>> you need to have a payment setup for orders(not Purchase orders) >>>>> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >>>>> >>>>> The Test services do not support the return values. >>>>> look in the user ML archive for >>>>> 9/26/2008 12:07 AM >>>>> subject:Re: Could you please tell me the reason for this problem >>>>> >>>>> [hidden email] sent the following on 10/25/2008 3:51 PM: >>>>>> Hi, >>>>>> >>>>>> I create a purchase order and try to click "Quick Receive Purchase >>>>>> Order" to receive it. But I got an exception, if the "Ship if capture >>>>>> fail" option is turned on in product store. >>>>>> >>>>>> The exception is "Error trying to begin transaction, could not process >>>>>> method: The current transaction is marked for rollback, not beginning a >>>>>> new transaction and aborting current operation; the rollbackOnly was >>>>>> caused by: Error in Service [captureOrderPayments]: Cannot ship order >>>>>> because credit card captures were unsuccessful calling service >>>>>> balanceInventoryItems in receiveInventoryProduct". >>>>>> >>>>>> I don't see anywhere I can give this purchase an payment method. Since >>>>>> all my purchase orders will be paid by offline payment, can anyone >>>>>> please tell me how to solve this ? >>>>>> >>>>>> William >>>>>> >>>>>> >>>>> >>>> >>>> >>>> >>>> >>> >> >> >> |
This is a bug, please create a jira, describing what you did and the
results, as here and other emails. if you wish to trouble shoot this an make a patch http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions [hidden email] sent the following on 10/27/2008 6:37 AM: > I don't want to deal with payment, because this is a purchase order. > However, if I have "ship if capture failed" tuned off (set it to N), I > got an exception when I receive the purchase order. The exception is > something related to payment. Please see the first post for the exception. > > The scenerio is very simple. I created a purchase order and try to > receive it. I got an exception which said something related to credit > card capture. This excetpion happens only when "ship if capture failed" > is set to "N". If I have "ship if capture failed" tuned on (set it to > Y), it works fine. > > I understand the "ship if capture fail" is nothing to do with purchase > order. But this switch is important when someone wants to reproduce this > issue. S/he won't see the problem, if it is set to "Y". > > > > Thanks > > William > > Quoting Jacques Le Roux <[hidden email]>: > >> Why would you want to deal with the payment ? It's not your duty but >> your provider isn'it ? >> Else please explain your specific scenario >> >> Jacques >> >> From: <[hidden email]> >>> I may not state my question well. I thought my question is nothing >>> to do with the SO. My problem happens when I am trying to receive >>> a purchase order. There is no SO involved in this case, and this >>> is NOT a case of drop shipping. The only thing I am trying to do >>> is create a purchase order and try to receive the order with "ship >>> if capture failed" turned on. The exception says the capture on >>> credit card is failed. If the purchase order do need a payment >>> method, please let me know which page I can provide it. I want to >>> provide my purchase order an offline payment. >>> >>> William >>> >>> >>> Quoting BJ Freeman <[hidden email]>: >>> >>>> I will look at this more, a little later. >>>> >>>> here is what I see. you received the item that is on an Purchage order, >>>> that works. >>>> now the Sales order is being processed (capture), since it is complete. >>>> Now there is one of two senarios >>>> 1) the payments routines that are in the same OrderServices.java don't >>>> distinquish between PO and SO >>>> 2) The SO is being process after the PO is completed >>>> if #2 is true then >>>> if you are using a CC processor that does not follow the return parms >>>> then the >>>> captureOrderPayments fails. >>>> so either you need to: >>>> 1) remove the CC entries from the product store if they are using the >>>> default services >>>> 2) put in CC services and patch to return appropriate info >>>> 3) remove the CC services completely. >>>> >>>> [hidden email] sent the following on 10/26/2008 7:05 AM: >>>>> Thank you for your response. But my question is a PO only >>>>> question. It >>>>> is nothing to do with the SO. Sales Orders work fine for me. I do >>>>> have >>>>> all credit settings for SO. But I am getting problem on receiving PO >>>>> (Purchase Order). >>>>> >>>>> Thanks >>>>> >>>>> William >>>>> >>>>> Quoting BJ Freeman <[hidden email]>: >>>>> >>>>>> looks like your using the testcapture, for your SO order. >>>>>> this is meant for demo only. >>>>>> you need to have a payment setup for orders(not Purchase orders) >>>>>> https://demo.hotwaxmedia.com/catalog/control/EditProductStorePaySetup?productStoreId=9000 >>>>>> >>>>>> >>>>>> The Test services do not support the return values. >>>>>> look in the user ML archive for >>>>>> 9/26/2008 12:07 AM >>>>>> subject:Re: Could you please tell me the reason for this problem >>>>>> >>>>>> [hidden email] sent the following on 10/25/2008 3:51 PM: >>>>>>> Hi, >>>>>>> >>>>>>> I create a purchase order and try to click "Quick Receive Purchase >>>>>>> Order" to receive it. But I got an exception, if the "Ship if >>>>>>> capture >>>>>>> fail" option is turned on in product store. >>>>>>> >>>>>>> The exception is "Error trying to begin transaction, could not >>>>>>> process >>>>>>> method: The current transaction is marked for rollback, not >>>>>>> beginning a >>>>>>> new transaction and aborting current operation; the rollbackOnly was >>>>>>> caused by: Error in Service [captureOrderPayments]: Cannot ship >>>>>>> order >>>>>>> because credit card captures were unsuccessful calling service >>>>>>> balanceInventoryItems in receiveInventoryProduct". >>>>>>> >>>>>>> I don't see anywhere I can give this purchase an payment method. >>>>>>> Since >>>>>>> all my purchase orders will be paid by offline payment, can anyone >>>>>>> please tell me how to solve this ? >>>>>>> >>>>>>> William >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> > > > > |
Free forum by Nabble | Edit this page |