Skip to content

PayPal

Enabling PayPal Express Checkout

PayPal Express Checkout payment requires the third-party JMSPaymentPaypalBundle library. The library's fork is available at the following location. Make sure that you are using the latest version v2.0.0.

1
2
php composer.phar require ezsystems/payment-paypal-bundle
php composer.phar update -- ezsystems/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'

Getting 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