PHPackages                             jjacq/paypal-payment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. jjacq/paypal-payment

ActiveSymfony-bundle[Payment Processing](/categories/payments)

jjacq/paypal-payment
====================

Jjacq Paypal Payment

v1.0.4(9y ago)0259[1 issues](https://github.com/jacquelotjeff/JjacqPaypalPaymentBundle/issues)MITPHPPHP &gt;=5.5.9

Since Jun 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jacquelotjeff/JjacqPaypalPaymentBundle)[ Packagist](https://packagist.org/packages/jjacq/paypal-payment)[ Docs](https://github.com/jacquelotjeff/JjacqPaypalPaymentBundle)[ RSS](/packages/jjacq-paypal-payment/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (7)Used By (0)

A Paypal Payment Bundle for Symfony
===================================

[](#a-paypal-payment-bundle-for-symfony)

This plugin creates a smart bridge between your website and Paypal.

You can also define all parameters in your config file.

Important
---------

[](#important)

This bundle allows you to send payments to Paypal only via paypal method So you can't use this bundle to send payments via credit\_card method

Installation
------------

[](#installation)

### Install with composer

[](#install-with-composer)

```
composer require jjacq/paypal-payment
```

### Add this line in your AppKernel

[](#add-this-line-in-your-appkernel)

```
new Jjacq\PaypalPaymentBundle\PaypalPaymentBundle(),
```

### Minimum configuration

[](#minimum-configuration)

Add these lines in your app/config/config.yml file.

```
paypal_payment:
    client_id: "your-customer-key"
    client_password: "your-customer-password"
    return_url: http://your-project-url.com/app_dev.php/success
    cancel_url: http://your-project-url.com/app_dev.php/error
```

### Advanced configuration

[](#advanced-configuration)

```
paypal_payment:
    client_id: "your-customer-key"
    client_password: "your-customer-password"
    return_url: http://your-project-url.com/app_dev.php/success
    cancel_url: http://your-project-url.com/app_dev.php/error
    mode: "live" # Default is 'sandbox'
    verbose_mode: true # Default is false /!\ Not efficient in live mode
    log_dir: "/var/logs/paypal_payments/"
    paypal_class: "Jjacq\PaypalPaymentBundle\Paypal\Paypal"
    auth_class: "Jjacq\PaypalPaymentBundle\Paypal\Auth"
    payment_class: "Jjacq\PaypalPaymentBundle\Paypal\Payment"
```

### Basic usage

[](#basic-usage)

```
