microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.7k stars 29.45k forks source link

Enable payments in webviews #234334

Open dmengelt opened 4 days ago

dmengelt commented 4 days ago

Similar to #165784 it would be great to enable payments (the Payment Request API) for webviews. For VS Code web this works if I add allow="payment" here:

https://github.com/microsoft/vscode/blob/969b5714b4fc54992801dceefc3269ce4e07f8f7/extensions/simple-browser/src/simpleBrowserView.ts#L168

Image

However, #165784 touches more files and I'm also not sure how to re-generate the SHA here.

Note: The Payment Request API is only available for Chrome, Edge and Safari

dmengelt commented 3 days ago

I would love to contribute but I need some guidance if it comes to the SHA (mentioned above) and which files to changes as its not 100% clear to me.