PayPal Payflow Link

PayPal PayFlow Link is available for merchants in the United States and Canada only. Customers are not required to have a personal PayPal account, and enter their credit card information in a form that is hosted by PayPal. The information is never stored on your Magento server. PayFlow Link cannot be used for orders that are created from the Admin.

Configure Configure

Credit memos are supported for both online and offline refunds. However, multiple online refunds are not supported.

Requirements

  • PayPal Business Account The PayPal Payflow Pro gateway links the merchant account at PayPal with the merchant’s website, and acts both as a gateway and a merchant account.
  • If you manage multiple Magento websites, you must have a separate PayPal merchant account for each website.

Customer Workflow

  1. Customer Goes to Checkout. During checkout, the customer chooses to pay with PayPal PayFlow link, and enters the credit card information.The customer is not required to have a personal PayPal account.
  2. Customer Chooses Pay Now. The customer taps the Pay Now button to submit the order.
  3. Customer Enters Credit Card Info. The customer enters the credit card information on a form that is hosted by PayPal/If the customer clicks the Cancel Payment link, the customer returns to the Payment Information stage of checkout, and the order status changes to “Canceled.”
  4. Customer Submits the Order. The credit card information is submitted directly to PayPal, and is not retained anywhere on the Magento site.

Order Workflow

  1. PayPal Receives Request. PayPal receives the request from the customer to Pay Now.

  2. PayPal Verifies the Payment Information. PayPal verifies the credit card information, and assigns the appropriate status.

    Payment Verified: If verified, the “Pending Payment” the applicable status is initially assigned to the order until the transaction is settled.

    StatusDescription
    ProcessingThe transaction was successful.
    Pending PaymentThe system did not receive any response from PayPal.
    CanceledThe transaction was not successful for some reason.
    Suspected FraudThe transaction did not pass some of the PayPal fraud filters. The system receives the response from PayPal that the transaction is under review by Fraud Service.

    Cancel Payment. If the customer clicks the Cancel Payment link, the customer returns to the Payment Information stage of checkout, and the order status changes to “Canceled.”

  3. Customer Is Redirected to Confirmation Page. If the transaction completes successfully, the customer is redirected to the order confirmation page in your store.

    If the transaction fails on any reason, an error message appears on the checkout page and the customer is directed to repeat the checkout process. These situations are managed by PayPal.

  4. Merchant Fulfills Order. The merchant invoices, and ships the order as usual.

Step 1: Configure Your PayPal Account

  1. Before you begin, set up your PayPal Payments Advanced account on the PayPal website.

    • Log in to your PayPal business account.

    • Go to Service Settings > Hosted Checkout Pages > Set Up Menu, and make the following settings:

      • AVS - No
      • CSC - No
      • Enable Secure Token - Yes
    • Save the settings.

      If you have multiple Magento websites, you must create a separate PayPal Payments Advanced account for each.

  2. When prompted to create a layout, do the following:

    • At the top of the page, tap Customize.

    • Choose Layout C.

    • Tap Save and Publish.

  3. PayPal recommends that you set up an additional user on your account. To set up an additional user, do the following:

Step 2: Complete the Required Settings

  1. On the Admin sidebar, tap Stores. Then under Settings, choose Configuration, and do the following:

    • In the panel on the left, under Sales, choose Payment Methods.

    • If your Magento installation has multiple websites, stores or views, set Store View to the store view where the configuration applies.

    • In the Merchant Location section, select the Merchant Country where your business is located.

      This setting determines the selection of PayPal Solutions that appear in the configuration.

  2. Under PayPal Payment Gateways, in the PayPal Payflow Link section, tap Configure. In the Required PayPal Settings section under Payments Pro and Express Checkout, do the following:

    • (Optional) Enter the Email Associated with your PayPal Merchant Account.

      Email addresses are case sensitive. To receive payment, the email address must match the email address specified in your PayPal merchant account.

      If you don’t yet have a PayPal account, click the link, Start accepting payments via PayPal.

    • Enter one of the following credentials that you use to log in to your PayPal merchant account:

      • Partner - Your PayPal Partner ID.
      • Vendor - Your PayPal user login name.
      • User - The ID of an additional user who is set up on your PayPal account.
    • Enter the Password that is associated with your PayPal account.

    • If you want to run test transactions, set Test Mode to “Yes.”

      When testing the configuration in a sandbox, use only credit card numbers that are recommended by PayPal. When you are ready to “go live,” return to the configuration and set Test Mode to “No.”

  3. If your system uses a proxy server to establish the connection to the PayPal system, set Use Proxy to “Yes.” Then, do the following:

    • Enter the IP address of the Proxy Host.

    • Enter the port number of the Proxy Port.

    A proxy is used when the server firewall prevents direct access to the PayPal server. In such a case, a third-party server is used to relay traffic.

    Required Settingd Required Settings

  4. Set Enable This Solution to “Yes.”

  5. If you want to offer PayPal Credit to your customers, set Enable PayPal Credit to “Yes.”

    Enable PayPal Payflow Link Enable PayPal Payflow Link

Step 3: Advertise PayPal Credit (Optional)

  1. Expand the Advertise PayPal Credit section. Then, do the following:

    • Tap Get Publisher ID from PayPal, and follow the instructions to get your account information.

    • Enter your Publisher ID.

      Advertise PayPal Credit Advertise PayPal Credit

  2. Expand the Home Page section. Then, do the following:

    • To place a banner on the page, set Display to “Yes.”

    • Set Position to one of the following:

      • Header (center)
      • Sidebar (right)
    • Set Size to one of the following:

      • 190 x 100
      • 234 x 60
      • 300 x 50
      • 468 x 60
      • 728 x 90
      • 800 x 66

    Advertise PayPal Credit Home Page Settings
    Advertise PayPal Credit Home Page Settings

  3. Repeat the previous step for the remaining sections:

    • Catalog Category Page
    • Catalog Product Page
    • Checkout Cart Page

Step 4: Complete the Basic Settings

  1. In the Basic Settings - PayPal Payflow Link section, enter a Title to identify PayPal Payflow Pro during checkout. It is recommended that you use the title “Debit or Credit Card.”

  2. If you offer multiple payment methods, enter a number in the Sort Order field to determine the sequence in which PayPal Payflow Pro appears when listed with other payment methods during checkout.

  3. Set Payment Action to one of the following:

    Option Description
    Authorization Approves the purchase, but puts a hold on the funds. The amount is not withdrawn until it is “captured” by the merchant.
    Sale The amount of the purchase is authorized and immediately withdrawn from the customer’s account.

    Basic Settings Basic Settings

Step 5: Complete the Advanced Settings

  1. At the bottom of the Basic Settings section, click to expand the Advanced Settings section. Then, complete the following as needed for your store:

    • Set Payment Applicable From to one of the following:

      Option Description
      All Allowed Countries Accepts payment from the countries already specified in your configuration.
      Specific Countries Accepts payments from only the countries you specify. Hold the Ctrl key down and in the Payment Applicable From list, click each country where you accept payment.
    • Set Debug Mode to “Yes” to write communications with the payment system into the log file.

      In accordance with PCI Data Security Standards, credit card information is not recorded in the log file.

    • To enable host authenticity verification, set Enable SSL verification to “Yes.”

    • If you want the customer to be able to correct their entry of the three-digit CVV security code from the back of a credit card , set CVV Entry is Editable to “Yes.”

    • To require that customers enter a CVV code, set Require CVV Entry to “Yes.”

    • To send a confirmation of the payment to the customer, set Send Email Confirmation to “Yes.”

    • To determine the method that is used to exchange information with the PayPal server during a transaction, set the URL method for Cancel URL and Return URL to one of the following:

      Option Description
      GET Retrieves information that is the result of a process. (This is the default method.)
      POST Provides a block of data, such as data entered into a form, to a data handling process.

      The “Cancel” and “Return” URLs refer to the page where a customer returns after completing or canceling the payment part of the checkout process on the PayPal server.

      Advanced Settings Advanced Settings

  2. Complete the following as needed for your store:

Settlement Report Settings

  1. Expand the Settlement Report Settings section.

  2. Under SFTP Credentials, do the following:

    • If you have signed up for PayPal’s Secure FTP Server, enter the following SFTP login credentials:

      • Login
      • Password
    • To run test reports before “going live,” set Sandbox Mode to “Yes.”

    • Enter the Custom Endpoint Hostname or IP Address. By default, the value is: reports.paypal.com

    • Enter the Custom Path where reports are saved. By default, the value is: /ppreports/outgoing

  3. Under Scheduled Fetching, do the following:

    • Set Enable Automatic Fetching to “Yes.”

    • Set Schedule to one of the following:

      • Daily
      • Every 3 Days
      • Every 7 Days
      • Every 10 Days
      • Every 14 Days
      • Every 30 Days
      • Every 40 Days

    PayPal retains each report for forty-five days.

    • Set Time of Day to the hour, minute, and second when you want the reports to be generated.

      PayPal Settlement Report Settings PayPal Settlement Report Settings

Frontend Experience Settings

The frontend experience settings give you the opportunity to choose which PayPal logos appear on your site, and to customize the appearance of your PayPal merchant pages.

  1. Expand the Frontend Experience Settings section.

  2. Choose the PayPal Product Logo that you want to appear in the PayPal block in your store. The PayPal logos are available in four styles and two sizes. Options include:

    • No Logo
    • We Prefer PayPal (150 x 60 or 150 x 40)
    • Now Accepting PayPal (150 x 60 or 150 x 40)
    • Payments by PayPal (150 x 60 or 150 x 40)
    • Shop Now Using (150 x 60 or 150 x 40)
  3. To customize the appearance of your PayPal merchant pages, do the following:

    • Enter the name of the Page Style that you want to apply to your PayPal merchant pages. Options include:

      Option Description
      paypal Uses the PayPal page style.
      primary Uses the page style that you identified as the “primary” style in your account profile.
      your_custom_value Uses a custom payment page style, which is specified in your account profile.
    • In the Header Image URL field, enter the URL of the image that you want to appear in the upper-left corner of the payment page. The maximum file size is 750 pixels wide by 90 pixels high.

      PayPal recommends that the image be located on a secure (https) server. Otherwise, the customer’s browser may warn that “the page contains both secure and nonsecure items.”

    • Enter the six-character hexadecimal code, without the “#” symbol, for each of the following:

      Option Description
      Header Background Color Background color for the checkout page header.
      Header Border Color 2-pixel border around the header.
      Page Background Color Background color for the checkout page and around the header and payment form.

      PayPal Frontend Experience Settings PayPal Frontend Experience Settings

Step 6: Basic Settings - PayPal Express Checkout

  1. Expand the Basic Settings - PayPal Express Checkout section.

  2. Enter a Title to identify this payment method during checkout. It is recommended to set the title to “PayPal” for each store view.

  3. If you offer multiple payment methods, enter a number in the Sort Order field to determine the sequence in which PayPal Payments Standard is listed with the other methods. Payment methods appear in ascending order based on the Sort Order value.

  4. Set Payment Action to one of the following:

    Option Description
    Authorization Approves the purchase, but puts a hold on the funds. The amount is not withdrawn until it is “captured” by the merchant.
    Sale The amount of the purchase is authorized and immediately withdrawn from the customer’s account.
  5. To display the “Check out with PayPal” button on the product page, set Display on Product Details Page to “Yes.”

    Basic Settings Basic Settings

Step 7: Advanced Settings - PayPal Express Checkout

  1. Click to expand the Advanced Settings section. Then, do the following:

    • Set Display on Shopping Cart to “Yes.”

    • Set Payment Applicable From to one of the following:

      Option Description
      All Allowed Countries Accepts payment from the countries already specified in your configuration.
      Specific Countries Accepts payments from only the countries you specify. Hold the Ctrl key down and in the Payment Applicable From list, click each country where you accept payment.
    • Set Debug Mode to “Yes” to write communications with the payment system into the log file.

      In accordance with PCI Data Security Standards, credit card information is not recorded in the log file.

    • To enable host authenticity verification, set Enable SSL Verification to “Yes.”

    • To display a full summary of the customer’s order by line item from the PayPal site, set Transfer Cart Line Items to “Yes.”

    • To allow the customer to complete the transaction from the PayPal site without returning to your Magento store for Order Review, set Skip Order Review Step to “Yes.”

      Advanced Settings Advanced Settings

  2. When complete, tap Save Config.