Adding Paypal to osCommerce

In this guide we will walk you through installing and configuring the Paypal module in osCommerce, which lets you accept Paypal payments. Paypal is one of the most common tools for accepting money, with millions of users. This module does not require users to have a paypal account to check out, and it will allow you to accept major credit cards.

First, we will install thePayPal Website Payments Standard module, then we will view / edit the settings for this module. The official osCommerce documentation states that this module supports these paypal features:

  • Sandbox server to perform test transactions
  • Authorization and Sale transaction methods
  • Encrypted Web Payments
  • Instant Payment Notification

This module requires that you have a Paypal Seller account.

Install and Configure the Paypal Module:

  1. Login to the Admin section of osCommerce

.

  • Click the Modules menu option, then select the Payment option.
  • Click the +Install Module button, you will see the available modules listed. Select the PayPal Website Payments Standard module option, then select the +Install Module button.
  • The PayPal Website Payments Standard will now be listed under payment modules, select it, then click the Edit button.
    You will then be presented with various fields, enter your preferred settings:
    OptionDescription
    Enable PayPal Website Payments Standard

    True turns this shipping option on. False turns it off.
    E-Mail AddressEnter the email address for your paypal seller account.
    Payment ZoneYou can choose a zone from this drop-down menu, if you do, this setting will only applies to that zone.
    Set Preparing Order StatusChoose your Status, it will stay at this setting until the customer completes the checkout with Paypal.
    Set Paypal Acknowledged Order StatusSelect from the drop-down menu. When Paypal receives the payment successfully, the order will be set to this option.
    Gateway ServerSelect Live to make this payment option available, and Sandbox for this to just be a testable payment options.
    Transaction MethodThe Sale option will process the payment immediately, while the authorization method allows the customer 30 days to complete the payment.
    Page StyleEnter your page style, this is setup at in your paypal account.
    Debug E-mail AddressIf you have an invalid order, the information regarding the order will be sent to this address.
    Sort order of displayThe number you enter here will affect where this option will display on the modules list. Zero will be at the top of the list, and higher numbers will be further down the list.
    Enable Encrypted Web PaymentsIf you set this to True, the information sent to Paypal will be encrypted, while the transaction goes through. False will disable this option.
    Your Private KeyEnter the name and location of your private key.
    Your Public CertificateEnter the name and location of your public cert.
    Paypals Public CertificateEner the location and name of your paypal public cert.
    Your Paypal Public Certificate IDEnter the paypal public certificate ID. This is setup in your paypal account.
    Working DirectoryEnter the directory location for temporary files, they are removed after use.
    OpenSSL LocationEnter: /usr/bin/openssl

    After entering your settings, click the Save button. Paypal will now be available as a payment option when customers checkout.

  • Congratulations, now you know how to install and configure Paypal for use with your osCommerce eshop!

    IC
    InMotion Hosting Contributor Content Writer II

    InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!

    More Articles by InMotion Hosting

    0 thoughts on “Adding Paypal to osCommerce

    1. Hi 

      My website developed by osCommerce

      in my site checkout_payement method is not visibling paypall option

      how to fix it

    2. Hi,

      Thanks for this tutorial, but it would be nice to add a link to the paypal download add-on.
      And to mention for which version of osC this tutorial is.

      Giancarlo

      1. Hello Giancarlo,

        Thank you for contacting us. The version of OsCommerce used in this guide is 2.3.3, which includes the Paypal module.

        If you need to download it manually, you can get the Paypal Module here. I found this via Google search.

        Thank you,
        John-Paul

    Was this article helpful? Join the conversation!