What happens if the cart contains both subscription and regular products?

What happens if the cart contains both subscription and regular products?

Let's say a customer would like to purchase both subscription and regular products in one order. This article will help you find the answers to the following questions about the mixed cart:
  1. Is this scenario possible?
  2. What payment methods will be available to customers?
  3. How are such orders processed in Magento?
First and foremost, it is possible to add both subscription and regular products in one order, as seen below:



On the checkout page, customers will only see payment methods available for subscription products:



In other words, mixed orders can only be paid using payment methods enabled for subscription products:
  1. Cash On Delivery
  2. PayPal Express Checkout
  3. Stripe By Amasty
  4. Amazon Pay
  5. Worldline
These payment methods can be activated in Stores > Configuration > Amasty Extensions > Subscriptions & Recurring Payments > General > Supported Payment Gateways.

Once the order is placed, a regular order is generated in the Admin Panel including both products.



The initial order is also available in Sales > Transactions Log:



As soon as the recurring payment time comes, a new order is generated in the Admin. It will have a different Order ID from the initial order and will only contain the subscription product:



The recurring order can also be viewed in the Transactions Log: