eShop PayPal Pro Merchant Gateway

eShop PayPal Pro Merchant Gateway allows you to collect Credit Card payments without the need for your client to leave your site.

Installation

  1. Download eshop-paypal-pro.zip and upload it to to your blog’s wp-content/plugins directory;
  2. Activate the plugin in your Plugin Admin interface;
  3. Go to the Settings -> eShop -> Merchant Gateways and enter your sandbox and live PayPal credentials.

Overview

eShop for WordPress comes with basic PayPal support out of the box. This means that your client gets sent to PayPal to make their payments and has the option of not returning. With eShop PayPal Pro Merchant Gateway plugin, you can collect the payment directly from the checkout page, no redirections to outside servers whatsoever.

For PCI compliance, no Credit Card data gets stored. It is up to you, however, to set up SSL on the checkout page.

Settings

Once you activate this plugin, a new section is shown under Settings -> eShop -> Merchant Gateways.

eShop PayPal Pro Settings

Tick the ‘Accept payment by PayPal Pro’ box and enter your Sandbox and Live PayPal credentials (API Username, API Password, and Signature). If you don’t use PayPal Payments Pro yet, click here to learn more about it.

Tick the credit cards that you want to use – note that PayPal does not allow American Express and Discover in certain regions. Make sure to test those cards before going live. Test credit card numbers can be found here.

Click ‘Save Changes’ and you’re good to go.

Checkout

When your clients reach the checkout page, they will see the Credit Card option as one of the payment methods. If it is the only active option, the CC fields will be visible. The type of credit card is identified automatically when the clients type in the number. If there are more Payment options, the fields will only be displayed if the clients click on the CC radio button.

Credit Card Option with Hidden Fields

Credit Card Option with Hidden Fields

Credit Card Fields Displayed

Credit Card Fields Displayed

Fields Shown Automatically

Fields shown automatically when it is the only option available

Confirmation Page

The confirmation page will show only the last four digits of the credit card number and card type.

Confirmation Page Data

Confirmation Page Data

PayPal Sandbox Credit Card Numbers

I recently had trouble using PayPal’s Sandbox accounts with a couple of test credit card numbers that I found online. I was getting an Internal Error message from PayPal, a timeout of sorts. PayPal Support as very quick to explain that the numbers easily found online are outdated. Here are the numbers they gave me for testing. I hope they’re helpful to you as they were to me.

5355821617452825 4539231797097766 371679978113167 6011428784506930
5285570542915472 4929855217305330 375793778613841 6011529879410217
5383804521984816 4532402209297966 343237404492203 6011077434086858
5100568622823460 4929125342648081 346204752699380 6011316919072953
5174158963595579 4915612105806150 371496720560003 6011802923231073
5448506129042417 4929768483269256 343308938304568 6011472168799398
5254734479324127 4532882997894050 345021646614818 6011208593683884
5222972685589732 4532616565981810 345116149238519 6011209316853077
5115652007791949 4024007135023926 345682132459826 6011840879000860
5233352188033933 4556716213378921 376317928643562 6011228616237179