Skip to content

Instantly share code, notes, and snippets.

@dfeist
Created November 23, 2010 16:09
Show Gist options
  • Save dfeist/711999 to your computer and use it in GitHub Desktop.
Save dfeist/711999 to your computer and use it in GitHub Desktop.
<flow name="orderProcessingFlow">
<inbound-endpoint ref="orderEndpoint"/>
<enricher>
   <authorizenet:authorization-and-capture cardNumber="#[xpath://order/cc/number]"
amount="#[xpath://order/amount"
expDate="#[xpath://order/cc/expDate]"/>
    <enrich target="#[variable:paymentValidated]" source="#[bean:responseCode]"/>
      <enrich target="#[variable:paymentMessage]" source="#[bean:responseReasonText]"/>
</enricher>
<outbound-endpoint ref="orderStep2"/>
</flow>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment