您好我用這篇文章貝寶PayFlow與MVC3 ASP.NET
瞭解PayFlow交易流程,以及如何就下發展。
從示例中做了一些成功的測試之後,我對如何爲發佈版本開發它提出了一些懷疑。
1.-我打算使用SDK方法和NVP調用,就像本示例中的發行版一樣。但是,我不知道是否應該使用更安全的證書或服務調用(我嘗試從.Net嚮導調用wsdl服務,但是我找不到任何與PayFlow事務有關的服務)。
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,有一個名爲「提交採購卡2級和3級事務」第99頁,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.
這是否意味着我對於Sale交易,「需要」使用比所需參數更多的參數;否則,交易可能會降級?
我現在明白我沒有離開任何關鍵的東西。謝謝您的幫助。 – 2012-11-14 17:40:22