How-To Implement Paypal Payments Pro into Magento - SANDBOX

Last modified by kara on Mon, July 12, 2010 16:04
Source|Old Revisions  

This How-To will give you step-by-step instructions to enable the “Paypal Payments Pro” integration for your Magento installation.

This is done using the Paypal Developer Sandbox, so no real money and accounts (with the exception of your developer acocunt) are involved.

Signup for Paypal Developer Account

First you will need to sign up for a developer account: https://developer.paypal.com

Click on the Sign Up Now button and follow the instructions to completely create your developer account. Once you have successfully created your account, login.

Create Test Accounts

Once logged in, click on the “Test Account” link on the left hand side. There are 2 options when creating these test accounts:

  • Preconfigured
  • Create Manually

I would recommend going with the preconfigured option since that is going to be the easiest.

Once you click on preconfigured, there are 2 account types you can choose from:

  • Seller
  • Buyer

We are going to be creating a Seller account so we take payments through Paypal’s Sandbox. For the email address I just put my first initial and my last name: rvelton. And of course, create a password that you will remember later.

Once you create your seller account type you will need to enable the account and create some credentials for that account. These are the credentials we are going to input into the Magento Admin (System → Configuration → Paypal) After the account is successfully created we are going to need to Enable the account. Under the column “Test Mode” is should say “Disabled”. Click on the disabled link and the page should reload now showing Enabled.

Get the credentials

Now click on the API Credentials Link on the left side menu, you should see your test seller account listed here with a username, password and signature.

(The above was changed so you will need to get your own) Copy and Paste YOUR credentials into the appropriate fields into the Magento Admin under the Paypal Configuration Section (Website Payments Pro). YOU MUST HAVE THE SANDBOX OPTION SET TO YES. I also have the Debug option set to yes.

Make a Payment

Now you should be able to fill up a shopping cart and use the credit card payment option to complete the transaction. Here is a test credit card that I have used:

  • Name on Card: Any Name
  • Type: VISA
  • Card #: 4485362859528762
  • CVV #: 528
  • Expiration Date: Jan 09

Instead, you could also create a buyer account (preconfigured, just like the seller account above) with enough credits to make some payments.

NOTE: The Paypal Developer and Sandbox site is INCREDIBLY slow. You are going to need a great deal of patience and hitting the back button a lot to resubmit your forms. GOOD LUCK!

Apply real settings

After you have successfully tested Payments Pro, you can get the API credentials from the real Paypal-Account into replace them in the Magento configuration. Don’t forget to set the “Sandbox Flag” and “Paypal URL” back to normal.




 

Magento 2 GitHub Repository

Magento Job Board - Some sort of tag line goes here

Latest Posts| View all Jobs