diff --git a/docs/commerce/payment/enable_paypal_payments.md b/docs/commerce/payment/enable_paypal_payments.md index e15e6a8085..3bccfdcdc5 100644 --- a/docs/commerce/payment/enable_paypal_payments.md +++ b/docs/commerce/payment/enable_paypal_payments.md @@ -9,9 +9,11 @@ By using Payum to integrate PayPal into your application, you can offer your cus Before you can proceed with integrating PayPal, you must [create a PayPal business account](https://www.paypal.com/bizsignup/#/singlePageSignup) and obtain API credentials. -Install the PayPal package: +Install the PayPal package and the required dependencies: -`composer require payum/paypal-express-checkout-nvp php-http/guzzle7-adapter` +```bash +composer require payum/paypal-express-checkout-nvp php-http/guzzle7-adapter php-http/message php-http/message-factory +``` Then, add the following configuration to your YAML configuration file (`payum.yaml` or similar): diff --git a/docs/commerce/payment/enable_stripe_payments.md b/docs/commerce/payment/enable_stripe_payments.md index e05e2c1f0d..105ed62402 100644 --- a/docs/commerce/payment/enable_stripe_payments.md +++ b/docs/commerce/payment/enable_stripe_payments.md @@ -10,9 +10,11 @@ By using Payum to integrate Stripe into your application, you can securely proce Before you can proceed with integrating Stripe, [sign up for a Stripe account](https://dashboard.stripe.com/register) and obtain the API keys required for integration. -Install the Stripe package: +Install the Stripe package and the required dependencies: -`composer require payum/stripe php-http/guzzle7-adapter` +```bash +composer require payum/stripe php-http/guzzle7-adapter php-http/message php-http/message-factory +``` Then, add the following configuration to your YAML configuration file (`payum.yaml` or similar): @@ -42,4 +44,4 @@ ibexa: strp_checkout: name: "Translated Stripe Checkout name" -``` \ No newline at end of file +```