New PayPal Module (Latest API 2.0) Configuration in Advanced Variant for osCommerce 2-based systems

From osCommerce Wiki
Revision as of 14:17, 13 July 2023 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Although we have released the new osCommerce 4 version, many shop owners continue to use systems based on osCommerce 2. As a result, we have made adjustments to the new PayPal module to support Express and APM - Alternative Payment Method - methods, ensuring compatibility with osCommerce 2-based systems.

To configure the new PayPal module in the advanced variant and if you are going to use alternative payment methods or wish to take credit card payments without leaving site you should set up webhooks and custom card fields options. In order to do it click on the installed module, on Edit button, and on Click here to configure link. Then click on Account details and advanced settings link and on Subscribe button next to Required Webhooks.

Image 1066.png
Image 1067.png


To show fields for filling in the credit card information on the check out page check the box next to Status (by default the required settings have already been chosen) and click on Save button in the pop up window as well as scroll down the page and click on Save button there.

Image 1068.png


With the help of the settings for this module you can:

Accept PayPal Rest payments

Disable PayPal for guests if only virtual products are in shopping cart (since PayPal does not provide any billing address, the guest (express) orders will not have any address)

Show PayPal button(s) on Shopping Cart page (if horizontal is chosen and depending on design only one PayPal button may show)

Show PayPal button(s) on Checkout Login page (if horizontal is chosen and depending on design only one PayPal button may show, also further settings will be shown below)

Show PayPal button(s) on Checkout page (if horizontal is chosen and depending on design only one PayPal button may show, Fields option allows to show fields for filling in the credit card information on the check out page)

Show PayPal Pay later info (it is available almost all over the world, also further settings will be shown below)

Save order before payment (recommended if you have quite a lot of orders and alternative payment methods)

Transaction Method (either (pre) authorize or automatic payment withdrawal (sale))

Set Pending Order Status (the status of pending orders)

Set Paid Order Status (the paid status of orders)

Image 1069.png


Payment Zone

Transaction Server (either live or sandbox)

Dynamic Button Color

Dynamic Button Shape

Dynamic Button Size

Dynamic Button Label (different button names)

Enable payment methods (if no payment methods are chosen the system will choose the ones based on their availability for a certain country and your PayPal account settings)

Image 1070.png


Note: The other configuration options that will be shown further are available for osCommerce 2.3 version only.


In order to add the PayPal button to the login page click on Modules and Content tabs and then on Install Module button.

Image 1071.png


Click on PayPal checkout and on Install Module button again.

Image 1072.png


Choose Full for Content Width to make sure the button will show on the right and specify the sort order number that should be more than Login Form and Create Account Link sort order numbers.

Image 1073.png


In order to add PayPal Pay Later button and information to the shopping cart click on Modules and Boxes tabs and Install Module button.

Image 1074.png


Click on PayPal and on Install Module button again.

Image 1075.png


Click on PayPal and then on Edit button.

Image 1076.png


Specify the sort order number that should be more than Shopping Cart sort order number.

Image 1077.png


See the links to the videos below demonstrating the new PayPal module integration with systems based on osCommerce 2.х:

https://www.youtube.com/playlist?list=PLHN7KfrDE8gMtPCprNISvqK2ZWTQdFVVH