When directing to checkout for example I have 10 days booked at 50 pound a day and it's…
Jump to turn (9)
- 1When directing to checkout for example I have 10 days booked at 50 pound a day a
- 2I am using stripe.redirectToCheckout so the checkout page is not controlled by m
- 3lineitems no longer have a description in the latest api
- 4When using stripe.redirectToCheckout how can I make it so that the payment isn't
- 5Once a payment has been created but not yet captured, how can I then store that
- 6How can I do this in nestjs?
- 7How can I do it with nestjs, graphql and prisma? I want to also create a booking
- 8Show me again but I need to get the payment intent id from a webhook from the st
- 9I want to create a checkout session with stripe using nest js and stripe, when t
- User
When directing to checkout for example I have 10 days booked at 50 pound a day and it's showing on the checkout as 'Qty 10, £50.00 each' But I want to change this to something like '10 nights @ £50 a night'
- Assistant
To change the text at the checkout to display '10 nights @ £50 a night', you should edit the code where it currently shows 'Qty 10, £50.00 each'.
In most cases, you'd need to find the appropriate HTML element or template where this information is being displayed and modify the code. It would look like this:
html<!-- Find the line with the quantity and price, which might look similar to this --> <!-- <div class="item-details">Qty {{quantity}}, £{{price}} each</div> --> <!-- Replace with the following code --> <div class="item-details">{{quantity}} nights @ £{{price}} a night</div>