After having lots of large and small problems trying to get PayPal Website Payments Pro (UK version) working with Magento and not finding many useful posts on this in the UK forum, I thought I would share my findings.
I did get it to work in the end. The main thing to remember it seems is that Website Payments Pro UK version is NOT the same beast that the US and Rest of World use. This is most of the problem as most of the webforums and help on the web is for the US system. Magento it seems have really done their homework, but the devil is in the detail.
This system allows you to use Paypal Direct: which allows your customers to pay you directly with a credit card without appearing to leave the Magento site. Paypal Express is also part of the Website Payments Pro. This is really just the std Paypal system, where customers are diverted to the Paypal site to pay.
Eventually I got to speak to a Integration Tech support chap at Paypal UK. They don’t publicise the fact but there actually is a UK based free tech support, but they don’t publicise it on their website at all to stop nuisance calls. Number is 0800 3587911. He actually told me I was the first person he had spoke to regarding integrating PayPay Website Payments Pro with Magento ! He was extremely helpful and very straightforward.
All along, the (sparse) integration notes on the UK part of the UK PayPal Website Payments Pro https://www.paypal.com/IntegrationCenter/ic_uk-pro.html say that you need to link your Website Payments Pro account to the Paypal Sandbox. Seems like a good idea, but after speaking to my chap at Paypal he advised me that the problem I had, ‘Invalid merchant information: 10501-This transaction cannot be processed due to an invalid merchant configuration’ was probably down to the fact the Magento and some other shopping carts do not play that well with the sandbox. The sandbox works fine with Paypal Express testing, as it did for me, but Paypal Direct is based on a completely different system bought out from Verisign (the old Payflow Pro), and was never supposed to work with the sandbox. He didnt have much good to say about the sandbox in terms of support for the Paypal Direct UK system.
So Paypal’s (unofficial) advice is not to bother trying with the sandbox at all !! He did tell me that Magento did spend quite a bit of time working with one of his colleagues last year getting the Paypal UK stuff working well. So I’m sure in Product/Live mode this is fine, but it seems that’s for whatever reason, the sandbox does not accurately mirror the live Paypal system. Your mileage may vary, but the minute I switched it all just about worked fine (see below)
Other useful info. The details you need to add into the Magento config are confusing. Filling it in as you would expect doesn’t work. Instead do this :-
URL; for testing (which I wouldnt recommend, it may work for you though)use https://pilot-payflowpro.verisign.com/transaction
for Production mode, use https://payflowpro.verisign.com/transaction
User Here you put your (Merchant) login name
Vendor Confusingly, here you need to put the Merchant login again, it seems that the user could be different if you have a multiple user setup and then would add a different user in ‘User’
Password just your password
Debug Flag Seems to work in Production mode fine too
Also, don’t forget that all the debug messages for Paypal UK go into table called paypaluk_api_debug in the MySQL database. Quite useful. this info is much more detailed than what is presented on the screen if you get an error.
Lastly, sometime later this year, PayPal are going to ditch the use of the UK system and use the US/ROW system in the UK too which should get rid of most of these annoyances. I asked him if it would mean having to change the Magento config, but he said it would just continue working fine without changing any settings.
One small problem I still have is that although I filled in address details for billing and shipping, that the address hasn’t got captured by Paypal when using Paypal Direct which means that they do not cover you by PayPal’s seller protection policies and programs…
This may be a config error on my part but I can’t see where the problem lies. You still have the customer’s billing address but it doesnt actually go to Paypal. If anyone can help, please do !
I hope this information will save the time I have wasted on going round in circles so long ....