Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: PayFuse Capture TX Command Total String Error

  1. #1
    dayhawk is offline Member
    Join Date
    May 2009
    Posts
    76

    Default PayFuse Capture TX Command Total String Error

    I was told by PayFuse/FNMS that the string being sent to capture funds contains a period that should not be there.

    Using built-in PayFuse API, the Capture TX Command sends:

    Code:
    <EngineDocList>
      <DocVersion>1.0</DocVersion>
      <EngineDoc>
        <ContentType>OrderFormDoc</ContentType>
        <User>
          <Name>[REDACTED]</Name>
          <Password>[REDACTED]</Password>
          <Alias>[REDACTED]</Alias>
        </User>
        <Instructions>
          <Pipeline>Payment</Pipeline>
        </Instructions>
        <OrderFormDoc>
          <Mode>P</Mode>
          <Id>[REDACTED]</Id>
          <Transaction>
            <Type>PostAuth</Type>
            <CurrentTotals>
              <Totals>
                <Total DataType="Money" Currency="840">1.40</Total>
              </Totals>
            </CurrentTotals>
          </Transaction>
        </OrderFormDoc>
      </EngineDoc>
    </EngineDocList>
    The Capture TX Command returns:

    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <EngineDocList>
      <EngineDoc>
        <MessageList>
          <MaxSev DataType="S32">6</MaxSev>
          <Message>
            <AdvisedAction DataType="S32">16</AdvisedAction>
            <Audience DataType="String">Merchant</Audience>
            <Component DataType="String">CcxXmlInput.A</Component>
            <ContextId DataType="String">CcxXmlInput</ContextId>
            <DataState DataType="S32">1</DataState>
            <FileLine DataType="S32">793</FileLine>
            <FileName DataType="String">Xena/Src/CcxXmlInput/CcxXmlInstance.cpp</FileName>
            <FileTime DataType="String">Sun Sep 23 19:20:25 2007</FileTime>
            <ResourceId DataType="S32">35</ResourceId>
            <Sev DataType="S32">6</Sev>
            <Text DataType="String">The data '1.40' for element Total is not valid.</Text>
          </Message>
        </MessageList>
      </EngineDoc>
    </EngineDocList>
    Is there a place I can go to remove the period?

    Thanks!!
    MSx 9.2, SQL Server 2005, Windows 2008 R2 Web 64-Bit

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    Dayhawk,

    I've responded to your email in support with some clarifications regarding this. Will handle this there for easy troubleshooting.