New PayPal Module (Latest API 2.0) Configuration in Advanced Variant for osCommerce 2-based systems
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.
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.
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)
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)
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.
Click on PayPal checkout and on Install Module button again.
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.
In order to add PayPal Pay Later button and information to the shopping cart click on Modules and Boxes tabs and Install Module button.
Click on PayPal and on Install Module button again.
Click on PayPal and then on Edit button.
Specify the sort order number that should be more than Shopping Cart sort order number.
See the links to the videos below demonstrating the new PayPal module integration with systems based on osCommerce 2.х: