Code Monkey home page Code Monkey logo

paypal's Introduction

PayPal - The OXID eFire extension

OXID eFire extension paypal

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_ids to oepaypal
  • Set activate_all_modules to true
  • Set run_tests_for_modules to true
  • Set run_tests_for_shop to false
  • Set additional_test_paths to ''
  • Set retry_times_after_test_fail to 0

For running acceptance and codeception tests you need to provide sandbox credentials data:

  • Set sOEPayPalSandboxUsername
  • Set sOEPayPalSandboxPassword
  • Set sOEPayPalSandboxSignature
  • Set blOEPayPalSandboxMode to true
  • Set blPayPalLoggerEnabled to true
  • 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_paths to oe/graphql-base,oe/graphql-storefront,oe/oepaypal
  • Set activate_all_modules to true
  • Set run_tests_for_modules to true
  • Set run_tests_for_shop to false
  • Set additional_test_paths to ''

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.

paypal's People

Contributors

alfonsmartin avatar angel-dimitrov avatar asilgalis avatar benjaminjoerger avatar godefroy-le-hardi avatar hkreuter avatar jarome-artse avatar jaroslavherber avatar juergen-busch avatar kermie avatar linaskukulskis avatar lygutas avatar maexware-stefan avatar mantasvaitkunas avatar marceloxid avatar mtkoltan avatar nikolaivanovski avatar ooxi avatar rezonanc-oxid avatar robertblank avatar sauliusstasiukaitis avatar sebbbbauer avatar shiftas avatar sieg avatar skoczekj avatar tarique-iqbal avatar titakoleva avatar tkcreateit avatar tobiaseichert avatar vilmal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.