Sylius / PayPalPlugin

Official integration with PayPal Commerce Platform
37 stars 56 forks source link

Cannot access to paypal payment with only virtual products in order #224

Open davidroberto opened 2 years ago

davidroberto commented 2 years ago

SyliusPayPalPlugin version affected: 1.3.1

Description
The Paypal checkout page displays an error when the order only contains virtual product. The error "Error: Expected an order id to be passed [] []" is logged in the Paypal logs.

Steps to reproduce
Add a virtual product (without shipping) to the cart, choose the paypal payment method and got to the checkout Paypal page.