Installation

Install the Stripe Payment for OXID module for your OXID eShop version 7.x.

Important

Restriction

Stripe Payment für OXID 2.x only supports Twig themes (APEX, for example).

Don’t install Stripe Payment for OXID 2.x if you use Smarty.

Prerequisites

  • You have OXID eShop 7.x.

  • You use a Twig theme.

  • You have configured https.

    1. In the <root directory of the eShop>/source directory, open the config.inc.php file.

    2. Make sure that https is set for the base URL (parameter shopURL).
      Example:

      $this->sShopURL = 'https://www.example.org';
      

Procedure

  1. Open a shell and go to the root directory of the eShop (where the composer.json file is located).
    Example:

    cd /var/www/oxideshop
    
  2. Execute the following command:

    composer require oxid-esales/stripe-module ^2.0.0
    
  3. Recommended: Clear the cache.

    Background: Otherwise, under Extensions ‣ Modules ‣ Stripe Payment ‣ Settings, the configuration settings may not be displayed correctly.

    To clear the cache, use, for example, the corresponding console command:

    1. Check whether the oe:cache:clear command is available.

      ./vendor/bin/oe-console
      
    2. If the command exists, execute it:

      ./vendor/bin/oe-console oe:cache:clear
      
  4. Optional: To activate the module, run execute the following command.
    Alternatively: Manually activate the module during configuration (see Activating Stripe for OXID).

    ./vendor/bin/oe-console oe:module:activate stripe
    

Result

Once the installation process is complete, the Stripe for OXID module appears in the administration area under Extensions ‣ Modules (Fig.: Stripe for OXID successfully installed).

Stripe for OXID successfully installed

Fig.: Stripe for OXID successfully installed