Rick Strahl's Web Log

Wind, waves, code and everything in between...
ASP.NET • C# • HTML5 • JavaScript • AngularJs
Contact   •   Articles   •   Products   •   Support   •   Search
Ad-free experience sponsored by:
ASPOSE - the market leader of .NET and Java APIs for file formats – natively work with DOCX, XLSX, PPT, PDF, images and more

Integrating Credit Card Electronic Processing into ASP.NET Applications


I've posted a new loooong article about Electronic Payment Processing with ASP.NET at:

 

http://www.west-wind.com/presentations/aspnetecommerce/aspnetecommerce.asp

 

The article covers a lot of ground from an overview of the whole process, as well as specific code implementations for several common gateways including Authorize.NET, PayFlowPro and LinkPoint and a couple of others. There's also a walk through of how this stuff integrates into a live application. There's a lot of detail so the article is long <g>. 

 

This topic acts as a placeholder for the article. If you have any comments, questions etc about the article please leave them here.

 


The Voices of Reason


 

Bil Simser
April 11, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Holy smokes, what a killer article! Everything you need to do electronic payment processing. Not that I do, but if I did one day this is totally the resource to check it out. And source code to boot. You rock Rick!

Cowboy Coder
April 11, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Very good article! It's difficult to cover everything regarding credit card processing, if you write a follow-up it would be nice to see something about reconciliation, ie. how you're making sure that what you *think* you have charged is the same as what's hitting your bank account. The reconciliation process is usually THE most complex issue with credit card processing, at least if you have enough volume so you can't reconcile it manually.

sridhar
April 12, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

This article is pretty cool.

Douglas Hammon
April 12, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great Article! I've been looking for a good article on how do do CC processing. Thanks !

Sonu Kapoor [MVP]
April 13, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Very nice. Definetly something to bookmark for future.

Kader Zikri
April 14, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Nothing to say, just great !!!

Jeff Barnes - MCSD
April 14, 2006

# Blog Spotlight - April 8 to 14

A lot of cool stuff on the wire this week:

Consequence of leaving debug="true" enabled
Rick Strahl...

Royman.Chen
April 16, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

What a grate job!!!
I read lots of documents, and this is the right one for me!!
otherwise, I can't found the PaypalIntegration.sln file,which may insided the ccProcessing_2005 downloaded zip file..

whatever, thanks for share minds!

Kevin Jensen
April 24, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

W O W
What an article. Outstanding Article.

Abhishek
April 27, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

really very good artical

Scott Clark
May 02, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks for the article. I've recently implemented some payment pages and this was good at filling in any gaps I had (except one). I definitely want to go back and make it more flexible when I have time.

You make a reference to "processing when Address Verification fails". It's my experience that the user still has a hold against their credit card for some period of time (7 days) if AVS fails.

I added a step to do an AUTH for $0 as a pre-auth step, but I know this is costing us $0.15 each time.

Any experience with this?

Muzammil MOhammed
May 08, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Rick, the only word that i can say is AWESOME, you got some really nice code here, gonna save me a lot of time.

thanks

Renhe
May 17, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks you Rick, it is a very good article.

Victor
May 26, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

This is a great article!
I guess there's just one more thing to cover: Multi-currency. How can we deal with it?

Manu Varughese
June 01, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Excenllent article. Very knowledgble, and informative

thanks

Johnnie
June 09, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks for the great article. Very informative.

We want to use Authorize.net but, you mentioned that Authorize.net does not support debit cards.
I thought all debit cards can be processed as credit cards ("signature" debit)...which Authorize.net states it supports.

Thanks again.


David
September 14, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Very informative article. I was ready to use Authorize.net also, but as it`s not supporting debit cards it almost useless for me....

Ashish
September 21, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Terrific article. Very informative.

It's a lot of help. It would be good to see anything related to reconciliation also. Anyhow full credit goes to you.

Thanks again

Jignesh
September 22, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

wow

What a great job?

really very good artical

Satish
October 05, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Simply great article. A++++++++++++++++++

Kaori
October 05, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I cannot find right source code for this article. When I download from the link on this article, I get source code for pay pal integration.
Please, help!!

# DotNetSlackers: Integrating Credit Card Electronic Processing into ASP.NET Applications


Chandra42
October 19, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

As all above, thanks for a truly useful article. Well written and decidedly comprehensive. Top notch!

yohaas
October 20, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great article! Thank you.
One question - where would I place the certs folder when using the built in debugging server with VS 2005? I placed it in /system32/intetsrv, but I'm getting a response of -31 (which is "The certificate chain did not validate, no local certificate found")

Thanks.

Jesse Gavin
October 26, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Very good article! I read a lot of your writing and have always appreciated it's thoroughness.

I did find a small problem in the ccAuthorizeNet.cs class however. I kept running into the scenario where the ValidateCard() method would return true, yet the response from Authorize.net would be a 3 (which means an error occurred). So I looked more closely at the code and notice the following:

            if (Result[0] == "3"  )  // Error - Processor communications usually
            {
                // *** Consider an invalid Card a DECLINE
                // *** so we can send back to the customer for display
                if (Result[3].IndexOf("credit card number is invalid") > -1)
                    this.ValidatedResult = "DECLINED";
                else 
                    this.ValidatedResult = "FAILED";    

                this.ValidatedMessage = Result[3];
                this.SetError(this.ValidatedMessage);
            }
            if (Result[0] == "2" || Result[0] == "4")  // Declined
            {
                this.ValidatedResult = "DECLINED";
                this.ValidatedMessage = Result[3];
                if (this.ValidatedMessage == "")
                    this.ValidatedMessage = this.RawProcessorResult;
                this.SetError(this.ValidatedMessage);
            }
            else
            {
                this.ValidatedResult = "APPROVED";

                // *** Make the RawProcessorResult more readable for client application
                this.ValidatedMessage = Result[3];
                this.AuthorizationCode = Result[4];
                this.SetError(null);
            }



The line ...
if (Result[0] == "2" || Result[0] == "4")  // Declined


should be...

else if (Result[0] == "2" || Result[0] == "4")  // Declined


otherwise the if() block above it is overridden.

Hope this helps anyone else who is using this code.

Rick Strahl
October 26, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks Jesse. I'd actually fixed this some time ago but I think the code that's online was somewhat dated. I have to update the code at some point. There are a few other small tweaks and fixes to some of the other classes as well.

Ajay
November 28, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Apparently Merchant Plus is still a reseller of Authorize.net but they don't work with Cynergy anymore. Currently their processing bank is OnlineDataCorp. I'm not sure how NaviGate fits in though.

Ajay
November 28, 2006

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I'm not sure where my first comment went....FANTASTIC article! :)

I did some more digging and it appears that you have the option to use either Authorize.net or Navigate as your gateway. Navigate is a bit cheaper ($19.95 vs. $29.95). Though when I click on the "Signup w/ Authorize.net" link, it takes me to the Navigate sign up. Perhaps a bug.
Navigate is a gateway created by MerchantPlus and can handle Amex/Discover cards: http://www.merchantplus.com/navigate.php.

Please, help
February 03, 2007

# Credit Card Processing with Authorize.net

I am little confused. Please, explain it to me as if I were a six year old boy... If I inted to implement this beautiful code with Authorize.net, what do I need to do? The examples seem to be configured for PayPal. Could you please lead me by the hand and tell me how to do it? Confused in Alpine, Texas.

BKosscus
February 11, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Any chance you have a VB version of the example Source Code?

Thanks,

Bob

Vadi
March 12, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Excellent Rick!! .. I had marked this URL long time back, but just now got reason to read because I am currently working on a CC module. Thanks Dude!

Omar Mallat
June 25, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Article interest = Article size * 1000000000000000.

Thank SuperRick....

Omar

Sam
July 20, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi,

Great work... This really helps.

J. PHILIP
July 26, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks again for all the info.
I found this <a href="http://www.olvio.com/WebModules/Products/AuthorizeNet/AuthorizeNet.aspx">resource</a> also for authorize.net as I was looking for a way to calculate the MD5 hash to authenticate the response.

Barry
August 07, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Good article. Forget about Linkpoint API... horrific technical support. But most importantly, it does not support 64 Bit Windows 2003. If you are using 64 Bit windows, stay away from Linkpoint

Dharmesh
August 26, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Nice article on payment gateway implementation

Thanks
Dharmesh

Jigjosh
August 30, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Gr8 Job Keep it up!!

Ahmed
August 31, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hai,

I nearly took one hour of fully read this article and at the end I felt something like I went through it in just 10 mins.... So much interesting and wonderfully presented and hook the reader to it. The author has a wonderful way to deliver his talents and experience for the public... Thanks a lot.... I'm currently working on a prjt which need this concept... Tons of thanks...

Narinder
September 09, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Good job

I was looking to read something about payrment gateway and i got everything in your article that i was looking for thax

Gopi
September 22, 2007

# Need your help

Awesome Article..., I have to implement online credit card payment module in my project and i don't know how to start. Can you please give me the steps to follow as how to approach AuthorizeNet and how purchase SSL Certificate etc,.

Danie
October 01, 2007

# 3d Secure for Integrating Credit Card Electronic Processing into ASP.NET Applications

Can you help me with 3D secure on an Intergrated Credit Cared Processing. I am writing and Interface to a gateway and need to do 3d secure checking before it goes to the gateway.

D. Nelson
October 05, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Rick, what an amazing article. I've been tasked with creating three e-commerce web sites from scratch. We had to throw some crappy proof-of-concept pages up online real quick to satisfy the merchant account application and I've been working like a possessed code monkey working on the real deal. Awhile back I had saved some reference information from Authorize.Net. It was a good start, but what you have posted is a thousand times more helpful because you take the time to explain each step. Thank you for providing such a detailed example that I can build from.

B.Griffin
November 13, 2007

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Awesome work!..I'm trying to put together an ASP.NET 2.0 website that will have to
have CCP and this goes a long way to getting that done. I have to store CC info because
I have frequent repeat purchases, and the article didn't discuss that much.

How long can a card name be? The Address? City? I need to set up fields for these in
a SQL DB and set them intentionally too long to make sure I wouldn't overflow. Do the
separate card companies even standardize on lengths for these?

Thanks again, and good work!

waseem noori
January 28, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thank you very much, i am so greatful to u for such a nice article :)
Thank you very much, u rock :)

SeethaLakshmi
March 12, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Sir,
I am using ur code for integrating the Paypal to our site.but it is not working properly. I am not able to return back to my website after making Payment. I have enabled IPN for my business account for that. Your help is needed.

Session.Add("PayPal_Redirected", "True");
PayPalHelper PayPal = new PayPalHelper();
PayPal.PayPalBaseUrl = App.Configuration.PayPalUrl;
PayPal.AccountEmail = App.Configuration.AccountEmail;
PayPal.Amount = Convert.ToDecimal(Session["productCost"]);
PayPal.ItemName = Session["productName"].ToString() + "/" + Session["username"].ToString();
PayPal.SuccessUrl = Request.Url.ToString();//+ "?PayPal=Success";
PayPal.SuccessUrl = PayPal.SuccessUrl.Substring(0, PayPal.SuccessUrl.LastIndexOf("/"));
PayPal.SuccessUrl += "/buy.aspx";
//PayPal.SuccessUrl = "http://61.17.75.80/FlWebSite/paypalsuccess.aspx";
PayPal.CancelUrl = Request.Url.ToString();// +"?PayPal=Cancel";
PayPal.CancelUrl = PayPal.CancelUrl.Substring(0, PayPal.CancelUrl.LastIndexOf("/"));
PayPal.CancelUrl += "/buy.aspx";
//PayPal.CancelUrl = "http://61.17.75.80/FlWebSite/paypalfailure.aspx";
Response.Redirect(PayPal.GetSubmitUrl());
return;

and also i have integrated ur PaypalHelper Class.
Pls revert me back
Thanks and Regards,
SeethaLakshmi.

shiv
March 14, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thank u very much its a realy a great points which u covers in this topic.
Thanks very much, its realy help me to understand the all process of e-commerce


regards,
shiv

Marco
March 18, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thank you

I called a few companies to get an overview and the tools I needed but they just want to sell their products without giving you information. this article gave me the opportunity to understand where I'm going. It would be nice to add to your article a list of components that you can buy to process credit cards too such as .netCHARGE.

anyways, I can't thank you in a better way than to add a donation

regards
Marco G.

AB
April 08, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great Article, thanks.

Tom
April 09, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Rick, thanx for a really great utility. I ported it all to vb.net and am 99% done getting it working then found a problem. I am using LinkPoint.

I cannot get past the LPSSL.dll file use.
The first place its called is in the ValidateCard function. In VB the anomalous line reads:
LPTxn.send(Me.CertificatePath, Me.HttpLink, Me.HostPort, Me.RawProcessorRequest)

There are two functions that LPSSL.dll provides; the first is the "SEND" method, the second is "GetVersion". Both of these bomb out with a Permission error.

I have tried regasm and regsvr32, no dice. The "entry point not found" problem.

I called LinkPoint and Yourpay; their phone number has been changed to: 1-800-clueless !!!

I have experminted with <import "lpssl.dll"> but cannot figure out how that works.

All thoughts appreciated and thanx again for a really great article.

Tom

Rick Strahl
April 09, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

@Tom - The link point assemblies use COM interop (unless something has changed) so you need permissions for that. This usually means FULL trust unless the permissions are specifically adjusted.

Tom
April 10, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Rick, thanx for giving me hope !

I have VS2k8pro on WinXP box for development. I installed .net SDK and tried to find the configuration utility to give full trust. No luck. I went into IE and tried to adjust the zones with trust, no luck. Please suggest a utility or mechanism to manage the permissions. I have no idea what is asking for permissions and where. In fact, I tried auditing for file access deny and did not get a hit.

I believe I tried the COM interop, as indicated in prior post. I tried the <import "lpssl.dll"> but cannot figure out the syntax.

Thanx again, Tom

Tom
April 10, 2008

# Got past the LPSSL.dll error !!!!! Here is how

Linkpoint related: As reported above, I had errors when hitting LPTxn.Send... method. Errors included permissions and "BadImageFormatException". I finally got this resolved:

- Open Control Panel, Administrative Tools
- Open "Component Services"
- On the toolbar, far right icon is a computer. Click on that.
- My Computer box opens with lots of tabs.
- Click on "Default Properties"
- In my case (lpssl.dll failing), the 2nd checkbox was NOT checked.
- Put a check in 2nd box "Enable COM Internet Services on this computer"
- Hit apply.
- No reboot, I hit F5 in VS and it passed that error line.

PS: I never did figure out what Rick suggested about "specifically adjusted" permissions. I did enable FULL trust in my web.config. I found that at Medium trust you get the error: "System.Security.Permissions.SecurityPermission" on the same line reference above. I would like to change that back to Medium but need a suggestion!!!!

No celebrating just yet, there is lots more to test.

Thanx to Rick and this great site !

Sheesh Pal
April 29, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

There is nothing to say about this article.Its very good one.

Michael Freidgeim
May 16, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

The article has sentence:
"At the time of this writing PayPal Payments Pro just got released a couple of weeks ago"
But article has "last update date", but not creation date.
Only by opening this blog post I could guess that you wrotr it April 11, 2006.
Creation date should be in the article itself.

Jignesh
June 26, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Rick,
Thank you very much for this article,we were able to integrate Authorize.Net.
I have a question regarding storing Credit Card Information.
We are storing Credit Card Information with Authorize.Net.
My question is if we change Payment Processor,we loose all the Credit Card Data as
Authorize.Net does not support migration of Credit Card.
We dont want users to input Credit Card Information when we change Payment Processor.
Has any one come across this situation?
What is the solution for this kind of scenario?

Thanks and Regards
Jignesh

Dave
July 27, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Truely great article
Thanks


Dave

Naveed Saqib
August 10, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi,

The link is not working at this time.

Naveed

Khusro Saleem
August 20, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

An excellent article indeed Rick. You have described a reasonably complex maze of functionality very succintly. I don't stumble across good articles like this very often. Thanks for taking the out time and teah the rest of us! Keep up the good work!

Govardhana
September 10, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi,

The article is very help full for someone new to payment gateway like me. I had a small query, we usually select the Card Type (American, Discover, Visa, Master Card...). But i don'e see this selection anywhere.

I have choose Authorize.Net as the payment Gateway, can you please suggest me where do i add this selection and what changes should i make to make it possible for me to integrate this.

My mail-id apondu@gmail.com

Thanks for the great article.

Regards,
Govardhana

Rick Strahl
September 10, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

@Govardhana - Authorize.NET doesn't need to know the type - they figure that out on their own based on the card number. The application DOES capture the credit card type - take a look at the screen shots, but the CC providers have no need for this since cards are automatically matched to providers based on the card number.

Muhamad awais
September 10, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I must say its a great article. Explains all aspects of CC Processing.
Good details

good work Rick
carry on

Liam
October 18, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Really stunning article, so well explained and illustrated - just an amazing job, thank you!

Ameur
October 20, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great article, but it will be great to use a web service instead.

Chris
December 18, 2008

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Someone earlier asked for vb, I tried converting all this code to vb without success. The converters cannot handle the code in the Support Classes. I personally got about 60 errors trying to do it.

Looking around for something similar, if anyone does convert to vb please post.

Thanks

Rod
January 06, 2009

# VB.Net Version

Chris (December 18, 2008) and Tom (April 9, 2008) mention a VB.Net port. Does anyone have a working VB.Net version I can use?

Thanks

Muhammad Imran
January 11, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Man, you ROCK!!!! What a wonderful article!!! Before today I never understood CC transaction stuff. You made it very simple and clear. Thanks

Alberto Ienzi
January 16, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Has anyone been able to use this code to configure it for PayPal Website Payments Pro? The code in the article shows website payments pro in the switch statment but the class file is not available in the source code download.

Any help would be appreciated.

Thanks.

Lester
March 21, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi Rick,

Really good article, very self explanatory, but I have a doubt: Why we need to have a contract with a Merchant Service Provider (in your case MerchantPlus) instead of contract directly the service of one Gateway Payment, like Authorize.Net? Why pay to both, when we'll interface only with the gateway in ours apps?

Kind regards,
Lester

ChatanyA
March 24, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

a WELL WRITTEN ARTICLE CLERALY EXPLAIN THE THING FOR JUMP INTO ELECTRONIC PROCESSING.....

U R AWESOME DUDE

Matt Sherman
March 29, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi Rick, have you thought about putting this up on CodePlex or Google Code? Would be great to keep it updated.

Cheers and thanks.

Matt Sherman
March 29, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

...or a commercial version, natch. :)

Spirytus
June 19, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

just wanted to thank you for writing such an awesome article. you explained really clearly and although i still have some questions its only because my lack of experience.., article is trult awesome, much appreciated!

Binay Rana
July 07, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I went through your article and downloaded the sample.. but I have one question on Credit card Type.

While posting,you've no where assigned the value whether it is Visa or Americal Express or Master Card. Is it so that the gateway like Authorize.net automatically determines it looking at the Credit Card Number?

Phill
September 03, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

GREAT....

THANKS FOR POSTING ALL METHODS IN SUCH A NICE WAY.

Still i have few quires if any one can help me ,

I have downloaded code and implement linkpoint payment gateway.. but my process hangs up after statement LPTxn.send() .. please help its urgent.

Thanks phill

Chathuranga Wijeratna
October 06, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

This is one of the best,most descriptive and up to the point articles I've ever read. Thanks a lot Rick. Going to check out the Sample code.

James Hildeman
December 23, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I had a question on lpssl.dll. I am trying to integrate this for a customer and can't find this .dll anywhere. Your article points to:
https://www.linkpoint.com/viewcart/

Which is now almost a dead link from first data. It simply says here are a bunch of places you might be looking for.

Does anyone have a current download of lpsll.dll?

BelizeBob
December 31, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Found the Dlls here. You have to click the "I agree..." then head to the download page. They are embedded in the same solution's /bin dir.

BelizeBob
December 31, 2009

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications


shweta
February 11, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

nice artical, its help so much

Meena
February 24, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great Article !!

Tom
April 19, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great article! Very comprehensive and informative.

We've used NELiX TransaX (http://www.nelixtransax.com) for this - they provide fully integrated examples in ASP.NET, with an ASP.NET web service interface. Extremely easy to use and integrate. We were up and running in a few days.

afterburn
April 23, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

lpssl.dll - is a C API. It can just be placed in the bin folder. The dll that uses it is managed and can be referenced.

It is not com, however the permission issue is because the website folder has permissions that inherit from the parent folder. Unfortunately the issue must be manually adjusted with security on the file. Right click-> Security -> Add, Add everyone to the file. default permissions should be read, read permissions and list, along with execute. The default user in which iis is run under doesn't have permissions to execute code ....

Lavanya
May 18, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Thanks a lot for Excellent Article.
Is that right the source code provided is there only for PayPal only, nothing for Authenticate.net?

Thanks

Raj
May 24, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great Article,

Can I get the Sample Code for Authorize.NET.

Thanks in advance
Raj

Tom
July 06, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Got the Linkpoint webservice API working. What a hassle. They offer a PDF that is missing so much info. They are off to a great start but need the documentation cleaned up to significantly reduce the support calls; at least the ones I made. Despite this, the support folks were timely involved and even though they offered very cryptic info, they did get me working.

Keep in mind, there is NO need for XML handling at all with this new web service (at least to the extent you need to parse it). There are simply a few objects to use and the PDF contains an example that actually works. Getting past the certificate stuff is what prior paragraph is about.

If you don't want to deal with the DLL stuff anymore; do research this new setup. Also, get the TEST setup also. You can bang away all day long against this test db without problems.

Good luck, Tom

Jody
August 31, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Great article! I appreciate all of the hard work you put into creating this.

-Jody

dodo
October 03, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Really you are great..
I thank you very much..
I recommend that you do the same thing with other processes..
This was very very useful...

ALOK
December 01, 2010

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hi rick
i am realy appriciated with u. i also want to know that can this code is also used in Debit card option.
thnaks.

Paresh
January 25, 2011

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Absolutely genius......! I am gonna to work on credit card payment processing first time and this article was god for me...

Thanks a lot..
Paresh

Moustafa Safwat
July 21, 2011

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

I'll just say it's AMAZINGGGGGGGGGG article and WOWWWW

Credit Card Processing
September 19, 2011

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

You make a reference to "processing when Address Verification fails". It's my experience that the user still has a hold against their credit card for some period of time (7 days) if AVS fails.

Rick Strahl
September 19, 2011

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Hmmm... I suppose it depends on the gateway. I've not seen customer holds on AVS failures - it's basically an unauthorized request.

Daniel
February 10, 2012

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Nice article Rick!

Is this possible in web connect? I noticed that your codes here are all in c#. As a web connect developer, can this be implemented in WC using foxpro backend code?

Mobile Payments
April 04, 2012

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

You make a reference to "processing when Address Verification fails". It's my experience that the user still has a hold against their credit card for some period of time (7 days) if AVS fails

dilip nagle
March 25, 2013

# re: Integrating Credit Card Electronic Processing into ASP.NET Applications

Dear Rick,

I have read so many articles on this subject but never ever a "REALLY COMPLETE",
"CLEARCUT and STRAIGHTFORWARD ARTICLE" as is written by you.

So, Many Thanks for sharing this wondeful article.

Dilip Nagle
 

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2017