Skip to content

PayPal Express Checkout

Installation and configuration

PayPal Express Checkout payment requires the third-party JMSPaymentPaypalBundle library.

1
2
php composer.phar require jms/payment-paypal-bundle
php composer.phar update -- jms/payment-paypal-bundle

See How to get the API credentials to learn where you can find the values for the JMSPaymentPaypalBundle configuration in the PayPal merchant's administration.

Additionally, you must activate SisoPaypalPaymentBundle in the kernel, and include the routes:

1
2
3
4
return [
    // ...
    Siso\Bundle\PaypalPaymentBundle\SisoPaypalPaymentBundle::class => ['all' => true],
]
1
2
_siso_paypal_payment:
    resource: '@SisoPaypalPaymentBundle/Resources/config/routing.yml'

How to get the API credentials

Provide your PayPal API credentials in configuration:

1
2
3
4
5
jms_payment_paypal:
    username: myusername
    password: mypassword
    signature: A5Va2XJid60kg21ddddddxKbSykH4i.ddsdsd-332yT0G8z8LrvNPl1
    debug: true