markenzoo/contao-isotope-paypal-express-bundle

dev-main 2022-06-29 13:16 UTC

This package is auto-updated.

Last update: 2024-03-29 03:59:35 UTC


README

Version GitHub issues License Build Status Downloads

Disclaimer

This is an experimental project. Use it at your own risk. We do not provide any warranty for failure or corruption in any circumstance.

Contributions in any form are welcome, simply submit a PR, it would be highly appreciated!

Features

Provide an integration for Smart Paypment Buttons from Paypal using the JavaScript SDK.

Notice Currently only digital goods with no shipping are supported.

Todo

Requirements

  • PHP >=7.2
  • Contao ~4.9 LTS

Install

Managed edition

When using the managed edition it's pretty simple to install the package. Just search for the package in the Contao Manager and install it. Alternatively you can use the CLI.

# Using the contao manager
$ php contao-manager.phar.php composer require markenzoo/contao-isotope-paypal-express-bundle

# Using composer directly
$ php composer.phar require markenzoo/contao-isotope-paypal-express-bundle

# Using global composer installation
$ composer require markenzoo/contao-isotope-paypal-express-bundle

Symfony application

If you use Contao in a symfony application without contao/manager-bundle, you have to register the bundle manually:

class AppKernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new Markenzoo\ContaoIsotopePaypalExpressBundle\ContaoIsotopePaypalExpressBundle()
        ];
    }
}

Note to self

Run the PHP-CS-Fixer and the unit test before you release your bundle:

vendor/bin/php-cs-fixer fix -v
vendor/bin/phpunit
vendor/bin/psalm
vendor/bin/psalter --issues=all --dry-run