Add support for package payment methods and basic checkout proccess
This commit is contained in:
@@ -35,8 +35,8 @@ const calculateTotalPrice = (cartItems) => {
|
||||
return {
|
||||
fixedPrice,
|
||||
recurrentPrice: priceHelper.sumPrices([recurrentPrice, servicesPrice]),
|
||||
periodUnit: cartItems[0].periodUnit,
|
||||
currency: cartItems[0].country.currency
|
||||
periodUnit: cartItems[0] ? cartItems[0].periodUnit : '',
|
||||
currency: cartItems[0] ? cartItems[0].country.currency : ''
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user