Hide description and quantity fields in checkout page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am trying to integrate paypal payments into my cars` renting website. Everything works fine, but when click 'Book it now', I see description and quantity fields in the paypal payment form. Is it possible to hide these fields? https://gyazo.com/590bb4ccea62c6835ff630657d0def80
I want to show only total price.
My payment form:
<form id="order_form" action="https://www.sandbox.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="business" value="testbs863433003@gmail.com">
<input type="hidden" name="cmd" value="_xclick">
<input type='hidden' name='cancel_return' value='{{ route('home') }}'>
<input type='hidden' name='return' value='{{ route('cars.paypalCallback') }}'>
<input type="hidden" name="amount" value="99">
<input type="hidden" name="currency_code" value="EUR">
<!-- order id -->
<input type="hidden" name="custom" value="2">
<button id="order-button" type="submit" class="wheel-btn style-2">Book it now</button>
</form>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, if you don't pass the item_name (description) from your side, as in our documentation, then buyers enter their own name during checkout. The variable is optional from your side but is required in the flow so either you pass it (and it will not show the screenshot you posted) or the buyer will be shown with the screenshot you sent so that can provide it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do I pass the item_name option for optional values? Can you please share the code?
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.