Question:
I can’t figure out how to change instead to get individual price items to get total price of cart to send to stripe to process payment. The problem with sending individual items is that i doesn’t account for a delivery fee and applied coupons (all this calculation is in cart total on wix.
Product:
Wix Editor (dev mode)
What are you trying to achieve:
I’m trying to send to stripe a whole cart total as one line item instead of sending every product individually.
What have you already tried:
javascript - Is there a way to instead getting individual price items, to get total price of cart on wix to stripe custom integration? - Stack Overflow i tried this solution but i doesnt work
Additional information:
The point is that when i’m sending the individual items the price on stripe doesn’t have a discount and delivery included in it. I’m trying to send the total price of wix cart to Stripe for it to only have a total price to charge the customer.