What happens with Braintree.js if Javascript is disabled?

At one point, I looked at Braintree as a possible payment provider and checked their API. At that time, they had the Transparent Forwarding option, which resolved many PCI compliance issues without seeing the user on the payment provider website. This option posted the credit card information on the Braintree servers and sent back a 302 token redirect.

Now it looks like they are pushing the Braintree.js parameter, which encrypts the credit card information in the browser before sending it to the seller’s website. My question is this:

What happens when javacript is disabled in the user's browser?

I understand that since input tags do not have a name attribute, they will not be placed, so there will be no security risk compared to plaintext numbers. But does a transaction just explode? Is there really no return for a customer who does not have JS for any reason?

Edit: To be clear, I am fully aware of how Javascript works in a browser, etc. This question is more specific for what is happening with the Braintree API itself and its options.

+6
source share
1 answer

Any JavaScript on the page will do nothing if JavaScript is not enabled.

One option is to customize your page as if JavaScript does not exist. Then, to have JavaScript remove the old school materials from the page and download the JavaScript version.

The obvious downside is that you are slowing things down for the vast majority of users to help a small group of people. If you need to do this in your business, fine.

In my personal opinion, since no browser disables JavaScript by default, these users refuse a large number of services and experience on the Internet. Even screeners have JavaScript in 98.5% of cases ( 2011 and 2013 studies / polls).

+1
source

Source: https://habr.com/ru/post/952750/


All Articles