Kukks / BTCPayServerPlugins

MIT License
25 stars 25 forks source link

File Seller Plugin downloading txt file instead of actual file #18

Closed gobrrrme closed 1 year ago

gobrrrme commented 1 year ago

I set up this POS app to make my 3D-files available for Sats. When the download link which is generated after the payment is clicked, the download begins, but not with the intended file name or extension.

Depending on the browser, different things happen:

Chrome based browsers download a .txt file which's name is the internal File Id, not the actual file name.

Firefox, opens prompt to save a file which's name is the file id without a file extension.

Example:

This link: https://pay.fomozon.com/LocalStoragetmp/a12b65fc-37f2-468f-9569-6a5752c1a285?download should download "NerdMiner_modified_GoBrrr.zip", but it downloads a12b65fc-37f2-468f-9569-6a5752c1a285.txt in chrome.

gobrrrme commented 1 year ago

Thank you!!