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!
Provide an integration for Smart Paypment Buttons from Paypal using the JavaScript SDK.
Notice Currently only digital goods with no shipping are supported.
- Shipping Address
- Billing Address
- Logging
- Shipping Fees
- Platform Fees
- Authorization Workflow
- Pass the Partner Attribution ID
- PHP >=7.2
- Contao ~4.9 LTS
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
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()
];
}
}
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