oxid-esales / paypal-module
This is the PayPal module for the OXID eShop.
Installs: 502 227
Dependents: 2
Suggesters: 0
Security: 0
Stars: 36
Watchers: 26
Forks: 21
Type:oxideshop-module
pkg:composer/oxid-esales/paypal-module
Requires
- php: ^7.1 || ^8.0
- ext-curl: *
- ext-openssl: *
- lib-curl: >=7.26.0
- lib-openssl: >=1.0.1
Requires (Dev)
- codeception/module-db: ^1.1.0
- codeception/module-phpbrowser: ^1.0.2
- codeception/module-rest: ^1.4.2
- symfony/dotenv: ^5.1
- dev-master
- v6.5.0
- v6.4.1
- v6.4.0
- v6.3.2
- v6.3.1
- v6.3.0
- v6.2.3
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.2
- v6.0.1
- v6.0.0
- v5.3.3
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.6
- v5.2.5
- v5.2.4
- v5.2.3
- v5.2.2
- v5.2.1
- v5.2.0
- v5.1.6
- v5.1.5
- v5.1.4
- v5.1.3
- v5.1.2
- v5.1.1
- v5.1.0
- v5.0.5
- v5.0.4
- v5.0.3
- v5.0.2
- v5.0.1
- v5.0.0
- v4.0.0
- dev-b-6.5.x-DEBUG_GHA
- dev-b-6.5.x
- dev-b-6.4.x
- dev-b-6.5.x-OXDEV-5377
- dev-b-6.5.x-OXDEV-5355
- dev-master-get-paypal-woring-with-shop-b-7.0.x-rebased-6.4
- dev-master-get-paypal-woring-with-shop-b-7.0.x
- dev-b-6.x
- dev-b-6.x-usercentrics-OXDEV-4919
- dev-b-6.x-usercentrics
- dev-b-6.x-investigate_test_fail
- dev-b-6.x-fix_banner_tests
- dev-b-6.x-OXDEV-4748
- dev-b-6.2.2-OXDEV-4480
- dev-b-6.x-PHP7and8-OXDEV-4480
- dev-b-6.x-OXDEV-4480
- dev-b-6.x-compatibility-OXDEV-4461
- dev-b-6.x_stabilize_codeception_rebased
- dev-b-6.x_stabilize_codeception
- dev-b-6.x_graphql_checkout_tests_OXDEV-4310
- dev-OXDEV-4292-before_place_order_subscriber
- dev-b-5.x
- dev-b-5.x-EXPERIMENTAL_disable_callback
- dev-b-6.x-OXDEV-3958
- dev-b-6.x-http-mock
- dev-b-5.x-OXDEV-3262
- dev-b-6.x-OXDEV-3086
- dev-b-5.x-OXDEV-3058
- dev-OXDEV-3052-get_pp_banners_via_js
- dev-OXDEV-3048-banners_settings
This package is auto-updated.
Last update: 2025-10-27 09:58:54 UTC
README
Features
- PayPal is available as a regular payment method in the appropriate checkout step.
- PayPal express is already included at the checkout (registration step), at the so called “mini cart” and at the product detail pages.
- The module is highly customizable through many options at the admin panel, for example the step to transfer the money (at the order date or on delivery).
- Options are adjustable in different ways for each multishop (OXID eShop Enterprise Edition only).
- The payment page at PayPal can be customized by your own logo and the name of your online store.
- If you wish, you can transfer the content of the cart (purchased product items) to PayPal. Your customer has to decide whether this data shall be transferred or not.
- Partial payment is possible.
- The admin panel provides an overview of the PayPal payments per order.
Setup
System requirements and installation instructions are described in the module documentation: https://docs.oxid-esales.com/modules/paypal/en/latest/installation.html.
Module installation via composer
In order to install the module via composer run one of the following commands in commandline in your shop base directory (where the shop's composer.json file resides).
- composer require oxid-esales/paypal-module:^5.0.0 to install the released version compatible with OXID eShop Compilation 6.1
- composer require oxid-esales/paypal-module:6.2.3 to install the released version compatible with OXID eShop Compilation 6.2
- composer require oxid-esales/paypal-module:^6.3.0 to install the released version compatible with OXID eShop Compilation 6.3
- Please note that 6.3.1 patch release is also compatible with OXID eShop Compilation 6.2 (PHP 7.1 and higher).
- Please note that PayPal ^v6.3.0 is compatible with GraphQL Storefront ^v1.0.0.
- composer require oxid-esales/paypal-module:^6.4.0 to install the released version compatible with OXID eShop Compilation 6.4
- Please note that PayPal ^v6.4.0 is compatible with GraphQL Storefront ~2.0.0.
- composer require oxid-esales/paypal-module:^6.5.0 to install the released version compatible with OXID eShop Compilation 6.5
- Please note that PayPal ^v6.5.0 is compatible with GraphQL Storefront ^v2.1.0.
- composer require oxid-esales/paypal-module:dev-master to install the latest unreleased version from github
Running tests locally
To run this module tests locally, ensure the test_config.yml values are correct:
- Set
module_idstooepaypal - Set
activate_all_modulestotrue - Set
run_tests_for_modulestotrue - Set
run_tests_for_shoptofalse - Set
additional_test_pathsto'' - Set
retry_times_after_test_failto0
For running acceptance and codeception tests you need to provide sandbox credentials data:
- Set
sOEPayPalSandboxUsername - Set
sOEPayPalSandboxPassword - Set
sOEPayPalSandboxSignature - Set
blOEPayPalSandboxModetotrue - Set
blPayPalLoggerEnabledtotrue - Set
OEPayPalClientId
These credentials can be set in shop_dir/var/configuration/environment/1.yaml. More information about it can be found here.
modules: oepaypal: moduleSettings: oePayPalClientId: value: client_id sOEPayPalSandboxUsername: value: sandbox_user sOEPayPalSandboxPassword: value: sandbox_password sOEPayPalSandboxSignature: value: sandbox_signature blOEPayPalSandboxMode: value: true blPayPalLoggerEnabled: value: true
Also PayPal login credentials will be needed, they can be set in module_dir/.env file:
- Set
sBuyerLogin - Set
sBuyerPassword - Set
sBuyerFirstName - Set
sBuyerLastName
sBuyerLogin=pp_buyer_email
sBuyerPassword=pp_buyer_pass
sBuyerFirstName=pp_buyer_first_name
sBuyerLastName=pp_buyer_last_name
When all credentials are set up you can run the following commands:
# Installs the module, activates it and applies the configurations from shop_dir/var/configuration/environment/1.yaml file bin/oe-console oe:module:install vendor/oxid-esales/paypal-module bin/oe-console oe:module:activate oepaypal bin/oe-console oe:module:apply-configuration # Runs codeception tests vendor/bin/runtests-codeception # Runs selenium tests vendor/bin/runtests-selenium # Runs unit and integration tests vendor/bin/runtests
For running codeception tests in test group paypal_graphql, you need the GraphQL Storefront module installed
and the following settings in the test_config.yml:
- Set
partial_module_pathstooe/graphql-base,oe/graphql-storefront,oe/oepaypal - Set
activate_all_modulestotrue - Set
run_tests_for_modulestotrue - Set
run_tests_for_shoptofalse - Set
additional_test_pathsto''
For running the tests and more configuration options, follow the instructions from here.
Bugs and Issues
If you experience any bugs or issues, please report them in the section module PayPal of https://bugs.oxid-esales.com.
Documentation
The module documentation can be found on our documentation platform: https://docs.oxid-esales.com/modules/paypal/en/latest/index.html.
