Installation
To install the payment module PayPal Checkout, follow different procedures to supprt either OXID eShop version 6.1 or OXID eShop version 6.2 and higher.
Earlier versions of OXID eShop prior to version 6.1 are not supported.
Installing PayPal Checkout for OXID eShop version 6.2 and higher
Install the payment module PayPal Checkout for OXID eShop version 6.2 and higher.
Prerequisites
You have installed OXID eShop 6.2 or higher.
You have configured https.
In the
<root directory of the eShop>/source
directory, open theconfig.inc.php
file.Make sure that https is set for the base URL (shopURL parameter).
Example:$this->sShopURL = 'https://www.example.org';
Procedure
Open a shell and change to the root directory of the eShop (where the file
composer.json
is located).
Example:cd /var/www/oxideshop
Execute the following commands:
composer config repositories.oscpaypal composer https://paypal-module.packages.oxid-esales.com/ composer require oxid-solution-catalysts/paypal-module ^2.0.0 composer install
Optional: To activate the module, run the following command.
Alternatively: Activate the module manually during configuration (see Activating PayPal Checkout)../vendor/bin/oe-console oe:module:activate osc_paypal
Result
When the installation process is finished, the module PayPal Checkout for OXID appears in the administration area under (Figure: PayPal Checkout for OXID installed successfully).
Next step: To configure PayPal Checkout, choose Next.
Installing PayPal Checkout for OXID eShop version 6.1
To install PayPal Checkout for OXID eShop version 6.1, install PayPal Checkout V. 1.0.
Procedure
Follow the same procedure for installation for OXID eShop version 6.2 and higher (see Installing PayPal Checkout for OXID eShop version 6.2 and higher).
Execute the commands as follows:
composer config repositories.oscpaypal composer https://paypal-module.packages.oxid-esales.com/ composer require oxid-solution-catalysts/paypal-module ^1.0.0
Installing a patch update
If required, install a patch update (from PayPal Checkout version 2.1.4 to version 2.1.5, for example).
Procedure
Execute the following command:
composer update
Confirm the prompt whether to overwrite the
oxid-solution-catalysts/paypal-module
files.
Attention
Check country mappings after update to PayPal Checkout version 2.1.5.
With version 2.1.4 the country coverage of individual PayPal Checkout payment methods has been extended.
Make sure that you can use the extended country coverage.
Background: With PayPal Checkout version 2.1.5, countries are automatically assigned to payment methods during initial installation (see Optional: Configuring the country mapping of PayPal Checkout payment methods).
This may cause configuration settings of your existing version to block the use of extended country mappings.
Do the following:
Choose
.To use the entire country coverage of a payment type, delete existing mappings.