creditcard.pcf未被调用 [英] creditcard.pcf is not called
问题描述
有没有资源可以读取管道日志信息?
Is there any resources available to read pipeline log info?
我创建了一个管道组件(Mynamespace.CreditCard )将交易发送到网络资源进行处理。我也编译并注册了该组件。并插入到CreditCard.pcf(付款阶段)。以下是web.config中启用的管道:
I created a pipeline component (Mynamespace.CreditCard) to send transcation to cybersource to process. Also I've compiled and registered the component. And inserted into CreditCard.pcf(Payment stage). The following is the enabled pipelines in web.config:
<pipeline name="basket" path="pipelines\basket.pcf" transacted="true" type="OrderPipeline" loggingEnabled="true" />
<pipeline name="total" path="pipelines\total.pcf" transacted="true" type="OrderPipeline" loggingEnabled="true" />
<pipeline name="checkout" path="pipelines\checkout.pcf" transacted="true" type="OrderPipeline" loggingEnabled="true" />
<pipeline name="CreditCardProcessor" path="pipelines\CreditCard.pcf" transacted="true" type="OrderPipeline" loggingEnabled="true" />
<pipeline name="advertising" path="pipelines\Advertising.pcf" transacted="false" type="CSFPipeline" loggingEnabled="true" />
<pipeline name="discounts" path="pipelines\Discounts.pcf" transacted="false" type="CSFPipeline" loggingEnabled="true" />
<pipeline name="recordEvent" path="pipelines\RecordEvent.pcf" transacted="false" type="CSFPipeline" loggingEnabled="true" />
从日志文件中,似乎已经调用了basket,total和
checkout管道,但是没有调用creditcard.pcf。
以下是checkout管道(checkout.pipelog)日志文件中的错误消息:
Sink started at 2010/09/09 13:38:30.0618
PIPELINE:++ 2010/09/09 13:38:30.0618 Pipeline Execution starts (lMode==0x1, lFlags==0x2)
591834 components in the list (MTS is enabled)
PIPELINE:++ component[0x0] about to be called ProgID: Commerce.RedeemPromoCodes
RootObject: ReadValue promo_code_info VT_DISPATCH PV=[0x20ace0b0] VT_EMPTY __empty__
PIPELINE:-- component [0x0] returned hr: 0x1, IErrorLevel=-2 in 857931912 milliseconds
PIPELINE:++ component[0x1] about to be called ProgID: Commerce.UpdateInventory
RootObject: ReadValue _Purchase_Errors VT_DISPATCH PV=[0x20a9e2a0] VT_EMPTY __empty__
RootObject: ReadValue Items VT_DISPATCH PV=[0x20acdd30] VT_EMPTY __empty__
RootObject: ReadValue _Purchase_Errors VT_DISPATCH PV=[0x20a9e2a0] VT_EMPTY __empty__
: ReadValue product_catalog VT_BSTR Adventure Works Catalog VT_EMPTY __empty__
: ReadValue product_id VT_BSTR AW200-12 VT_EMPTY __empty__
: ReadValue product_variant_id VT_BSTR 3 VT_EMPTY __empty__
: ReadValue quantity VT_I4 1 VT_EMPTY __empty__
: ReadValue _inventory_allow_backorder_and_preorder VT_BOOL -1 VT_EMPTY __empty__
items: ReadItem 0 VT_DISPATCH PV=[0x20abfe50] VT_EMPTY __empty__
: WriteValue _inventory_condition VT_I4 0 VT_I2 0
: ReadValue quantity VT_I4 1 VT_EMPTY __empty__
: WriteValue _inventory_in_stock_for_request VT_CY 1 VT_I4 1
: WriteValue _inventory_pre_order_for_request VT_CY 0 VT_CY 0
: ReadValue _inventory_pre_order_for_request VT_CY 0 VT_EMPTY __empty__
: WriteValue _inventory_back_order_for_request VT_CY 0 VT_CY 0
: ReadValue _inventory_back_order_for_request VT_CY 0 VT_EMPTY __empty__
: WriteValue _inventory_condition VT_I2 0 VT_I4 0
: ReadValue quantity VT_I4 1 VT_EMPTY __empty__
PIPELINE:-- component [0x1] returned hr: 0x1, IErrorLevel=-2 in 857931912 milliseconds
PIPELINE:-- 2010/09/09 13:38:30.0718 Pipeline Execution completed returning hr: 0x0
i: 0x0
hrLoop: 0x907DA
*plErrorLevel: 2490381
(MTS committed)
Sink stopped at 2010/09/09 13:38:30.0719
谢谢!!
推荐答案
Lillian,
Lillian,
我没有看到该日志输出中的任何错误。它似乎正确完成,但日志文件看起来也不完整。
I dont see any errors in that log output. It seems to complete properly, but the log file also looks incomplete.
  ;
要检查的两件事:
1.在checkout.pcf。第一阶段是PaymentMethodRouter组件吗?
1. In the checkout.pcf. Is the first stage the PaymentMethodRouter component?
2.在您的付款方式设置中,您必须指明应该为该组件运行哪个管道。您能检查并确保它显示为'creditcard'吗?
2. In your payment methods setup, you must indicate which pipeline should run for that component. Can you check and make sure that it says 'creditcard'?
就像我说的,它看起来像你发布的日志不完整,你能验证它是完整的日志并在这里发布吗?
Like i said, it does look like the log you posted is incomplete, can you verify it is the full log and post it here?
>
这篇关于creditcard.pcf未被调用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!