Skip to main content

Posts

Showing posts with the label Paypal

3D Secure Implementation With PayPal

In a recent blog post I documented some details for setting up direct payments with PayPal . I've recently had to extend that to implement 3D secure - known also as Verified by Visa or Mastercard SecureCode . The primary reason I've needed to implement this in a hurry for a client is that as a deadline has been reached that mandates the technology if you wish to accept Maestro cards on the website. Hence, if anyone else like me has been asked to set this up on the site in a hurry, hopefully this post that documents the steps required and techniques will prove useful... Project References Paypal have a relationship with a company called Cardinal Commerce who are available to customers using PayPal Direct Payments for support with implementing the 3d secure technology. I found them very helpful in going through the process. The first step is to obtain a dll file called CMPCDotNet.dll (known as the "thin client software"). Note that the version supplied with the...

Integrating Paypal Payment Pro (Direct Payment)

I've recently had need to integrate PayPal payments on a website, using their Payments Pro interface. It's actually very straightforward, although initally didn't appear so as the information they provide on their website and forums is rather confusing. This is primarily due to the different versions of their API that have been provided historically, plus there are a number of different techniques to access it. All I need was a simple request to authorise a set of card details, getting back a response to allow the order to either be processed appropriately. Pulling together with my own code a few different examples online, the Paypal documentation and some advice from their technical support led me to this function - which I'll post in the hope of helping rather than hindering someone else in the same position!     1   private void makePayPalPayment()     2  {     3    //Open log file    ...