Remove shipping billing address drop-down menu upon submitting credit/debit card payment on Paypal

Solution for Remove shipping billing address drop-down menu upon submitting credit/debit card payment on Paypal
is Given Below:

hope all is well.

Although this may have been answered previously somehow, I am struggling to allow customers to proceed with payments without needing to input shipping and card billing address details. I have coded the website using Python with flask and HTML, I am also using PayPal as the payment system.

I have already tried implementing application_context:shipping_preference: 'NO_SHIPPING' under the createOrderfunction but upon payment, the dropdown menu is still coming asking the customer to input billing and shipping address.

Is there some kind of way where I can only have the user input the long card number, the expiry date and then CSC ONLY and proceed with payment for PayPal.

Please do let me know if there are easy out of the box solutions! I am kinda new to handling payments online on servers.

Thanks

Here is the sample code that was provided by paypal to work with: https://developer.paypal.com/demo/checkout/#/pattern/client