【发布时间】:2012-08-08 20:04:02
【问题描述】:
您好,我正在使用这篇文章
了解 PayFlow 交易流程以及如何开发它。
在对示例进行了一些成功的测试后,我对如何为发布版本开发它有一些疑问。
1.- 我打算使用 SDK 方法和 NVP 调用,就像在发布版本的示例中一样。但是,我不知道我是否应该使用更像安全证书或服务调用的东西(我尝试从 .Net Wizard 调用 wsdl 服务,但我找不到任何与 PayFlow Transactions 相关的服务)。
2.- 另外,在 PDF 中:
https://cms.paypal.com/cms_content/US/en_US/files/developer/PP_PayflowPro_Guide.pdf
有一些例子,如第 29 页中的例子,说明:
//Typical Sale Transaction Parameter String
//The following is a typical PARMLIST string passed in a Sale transaction.
"TRXTYPE=S&TENDER=C&USER=SuperUser&PWD=SuperUserPassword&VENDOR=SuperUser&PA
RTNER=PayPal&ACCT=5105105105105100&EXPDATE=1209&CVV2=123&AMT=99.00&FIRSTNAM
E=John&LASTNAME=Smith&STREET=123 Main St.&CITY=San
Jose&STATE=CA&ZIP=12345&COMMENT1=Reservation&INVNUM=1234567890&PONUM=C12345
&CVV2=567&VERBOSITY=MEDIUM"
//Note that, besides the required parameters that you pass in a Sale transaction, this string
//includes other typical parameters. The COMMENT1 (and COMMENT2) fields help to track
//transaction information. The customer’s street address (STREET) and zip should be passed to
//use address verification service. CVV2 is needed for card security code validation.
我在那个例子中不明白为什么要使用 CCV2 参数两次。另外,我不知道 INVNUM 和 PONUM 参数是什么意思。此外,我知道如果我不通过 CCV2(安全代码)参数和地址参数,测试将成功,但这些不是强制性的吗?这让我有点困惑,因为对于 DirectPayment 服务,它们是。
3.- 在 PDF 中,第 99 页有一个名为“提交采购卡 2 级和 3 级交易”的部分。在第 100 页,它说:
//Level 2 and Level 3 data is generally considered non-financial data. Lack of adequate data
//may cause a transaction to be downgraded.PayPal generally requires up to Level 2 information in
//an Authorization transaction followed by additional Level 3 data in the associated
//Delayed Capture transaction. A Sale transaction should include all Level 3 data
//since it is authorized and later settled.
这是否意味着我“需要”使用比销售交易所需参数更多的参数;否则交易可能会被降级?
【问题讨论】:
标签: asp.net-mvc-3 payment-gateway paypal payflowpro