diff --git a/CRM/Core/Payment/StripeCheckout.php b/CRM/Core/Payment/StripeCheckout.php index 7daa8aab70afcbcd68d2afadbb0f647302862f7a..8ecde33665725b6d4a87ce60714fde13b9f1634a 100644 --- a/CRM/Core/Payment/StripeCheckout.php +++ b/CRM/Core/Payment/StripeCheckout.php @@ -169,7 +169,7 @@ class CRM_Core_Payment_StripeCheckout extends CRM_Core_Payment_Stripe { $stripeCustomerID = $existingStripeCustomer['customer_id']; } - if (!empty($paymentParams['skipLineItem'])) { + if (!empty($paymentParams['skipLineItem']) || empty($paymentParams['line_item'])) { $lineItems = [ 'priceset' => [ 'pricesetline' => [