开发者

Integration of BeanStream with Asp.Net website

I need to implement BeanStr开发者_JS百科eam payment gateway in my C# code.I am new in payment gateway implementation. Can anybody help me with any demo project? prior thanks.


Pages here contains details information about integration API and there is a blog post which has a sample code in c#: Sample C# code for BeanStream credit card processing


Now i am well aware about BeanStream to give answers . BeanStream accepets two types of Transaction modes:

The Standard Transaction Process With the Beanstream gateway, the basic transaction process occurs over three stages: • The transaction is submitted to the API • Automated error checks validate the information submitted in the request string • The data is submitted to the bank and a response is returned to the merchant’s server

we can use :

  1. Basic HTTP Post

  2. Server to Server Protocol

  3. SOAP Method

Sample authorized Request string :

https://www.beanstream.com/scripts/process_transaction.asp?merchant_id=123456789&requestType=BACKEND&trnType=P&trnOrderNumber=1234TEST&trnAmount=5.00&trnCardOwner=Joe+Test&trnCardNumber=4030000010001234&trnExpMonth=10&trnExpYear=10&ordName=Joe+Test&ordAddress1=123+Test+Street&ordCity=Victoria&ordProvince=BC&ordCountry=CA&ordPostalCode=V8T2E7&ordPhoneNumber=5555555555&ordEmailAddress=joe%40testemail.com

  • Here you need to get an authorized Merchant_id and admin account (It could be on their Testing sandbox or your real admin account Merchant_Id.Replace the Merchent_Id with in this Request string before executing this Request)

Sample Authorized Response string:

trnApproved=1&trnId=10001364&messageId=1&messageText=Approved&trnOrderNumber=1234TEST&authCode=TEST&errorType=N&errorFields=&responseType=T&trnAmount=5%2E00&trnDate=7%2F31%2F2009+11%3A57%3A12+AM&avsProcessed=0&avsId=0&avsResult=0&avsAddrMatch=0&avsPostalMatch=0&avsMessage=Address+Verification+not+performed+for+this+transaction%2E&cardType=VI&trnType=P&paymentMethod=CC&ref1=&ref2=&ref3=&ref4=&ref5=

hope this will be helpful to those who are willing to integrate with BeanStream.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜