Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Igor 25 posts 45 karma points
    Nov 02, 2011 @ 19:33
    Igor
    0

    Problem with acquire, executing standart pipeline.

    Hello. We are using your system in separate projects, and we got problem with capturing money on DIBS account.

    We got API access from DIBS, DIBS.config file is well formed(i am passing username and password), in the ToCompletedOrder.config and ToCancelled.config pipelines files i had uncommented necessary lines.

    I had made everything according to this description.

    When payment is done, we got new/pending order at the DIBS, and new order with status "Paid" at uCommerce backend. Then it is possible to change order status to "Completed", "Completed" order status has "ToCompletedOrder" pipeline field in DB, according to this article.

    But some how the order is not visible as captured at DIBS administrator panel, when i am changing order status to "Completed". Neither cancel pipeline is not working too.

    Here i got that execution of pipeline should return xml result, how i can see that xml for order statuse change piplines execution?

    Thanks.

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 07, 2011 @ 16:53
    Søren Spelling Lund
    0

    By default the acquire payment task is disabled in the ToCompletedOrder pipeline. Make sure to enable it by removing it from the comment in the XML config.

  • Igor 25 posts 45 karma points
    Nov 08, 2011 @ 09:27
    Igor
    0

    This is content of the ToCompleteOrder.config localted in the Umbraco/Ucommerce/Pipelines.

    As i wrote before i have uncommented that lines.

    How can i see result of the pipelines executing when i am changing order status?

    Thanks.

     

     

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 08, 2011 @ 10:08
    Søren Spelling Lund
    0

    There will be information added to the audit trail of the order. Also check umbracoLog for any additional information.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 08, 2011 @ 10:33
    Søren Spelling Lund
    0

    Also make sure that the order status you're changing the order to has the name of the pipeline you want executed set up in the uCommerce_OrderStatus table: Understanding uCommerce Order Statuses.

  • Igor 25 posts 45 karma points
    Nov 09, 2011 @ 20:50
    Igor
    0

    Here is audit:

    09/11/2011 20:24:22 admin Completed order Paid => Completed order

    Any errors.

    Umbraco log table has nothing about this action.

    I have some errors with indexing:

    [UmbracoExamine] Error indexing queue items,There is an error in XML document (0, 0)., IndexSet: InternalMemberIndexSet

     

    But i can't find log of execution order status pipelines, even when i am using wrong API credentials everything looks fine.

     If this is not logged, then i need to build my own pipeline, and make mannual acquire by posting form to Dibs with transaction data.

    I had read this article: http://blog.lasseeskildsen.net/post/uCommerce-Pipelines-Explained.aspx

    But i am in doubt how i should do that:

     PipelineExecutionResult Execute(T subject);

    So, i should override this method and make mannual capture, by ussing HTTP POST.

    What will be represented in "subject" in case of changing order status?

    I mean i need to get order data to make mannual capture, i should downcast it to some special type?

    Can you show some short example?

    Thanks.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 10, 2011 @ 12:16
    Søren Spelling Lund
    0

    Your pipeline is not getting executed. If they did you'd see a notification in the audit trail for your order.

    Could you post the contents of the uCommerce_OrderStatus table here?

    Thanks.

  • Igor 25 posts 45 karma points
    Nov 10, 2011 @ 15:13
    Igor
    0

  • Igor 25 posts 45 karma points
    Nov 10, 2011 @ 15:16
    Igor
    0

    Here is contents of the ToCompleteOrder.config pipeline:

    <configuration>

      <components>

        <!-- Pipeline Instance -->

        <component id="ToCompletedOrder"

      service="UCommerce.Pipelines.IPipeline`1[[UCommerce.EntitiesV2.PurchaseOrder, UCommerce]], UCommerce"

      type="UCommerce.Pipelines.OrderProcessing.OrderProcessingPipeline, UCommerce.Pipelines"

      lifestyle="Thread">

          <parameters>

            <tasks>

              <array>

                <value>${ToCompletedOrder.AcquirePaymentTask}</value>

              </array>

            </tasks>

          </parameters>

        </component>

     

        <!-- Pipeline Tasks-->

        <component id="ToCompletedOrder.AcquirePaymentTask"

      service="UCommerce.Pipelines.IPipelineTask`1[[UCommerce.EntitiesV2.PurchaseOrder, UCommerce]], UCommerce"

      type="UCommerce.Pipelines.OrderProcessing.AcquirePaymentTask, UCommerce.Pipelines"

      lifestyle="Thread" />

      </components>

    </configuration>

  • Igor 25 posts 45 karma points
    Nov 10, 2011 @ 15:20
    Igor
    0

    Here contents of the Dibs.config file:

     

    <dibsPaymentMethodService 

    testMode="True" 

    debug="False"

    login="<here i had used both logins to admin panel and API user, without luck>"

    password="<password>"

    callbackUrl="(auto)"

    acceptUrl="http://websmtp.dintojmand.dk/orderconfirmation.aspx" 

    cancelUrl="http://websmtp.dintojmand.dk/cancel.aspx" 

    merchant="90056393" 

        decorator = ""

    useMd5="True" 

    key1="rhUVUUm0]o|kz;):He$}cK~Kdn~?8*N#" 

    key2="Aw)A.N9f5vPf#0^8GbocZOtJ!0UC&amp;o@u" />

    I had checked the special characters in MD5.

     

  • Igor 25 posts 45 karma points
    Nov 10, 2011 @ 15:21
    Igor
    0

    I had updated uCommerce to version 2.0.5, and still have the same result.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 10, 2011 @ 16:19
    Søren Spelling Lund
    0

    Silly question: Does the name in the table match with the name of the pipeline configuration? I ask because I noticed one says ToCompleteOrder (without the d) and the ToCompletedOrder.

  • Søren Spelling Lund 1797 posts 2786 karma points
    Nov 10, 2011 @ 16:20
    Søren Spelling Lund
    0

    Are you updating via code or the UI?

Please Sign in or register to post replies

Write your reply to:

Draft