This plugin uses for upload payment receipt and do the payment confirmation.
So we need to limit the file format that was uploaded through this plugin and the file format limited to PNG, JPG, JPEG only.
Why we need to do this?
This is how the plugin looks like.
Problem occur because this plugin allow users to upload any file types and formats.
Like the image below. I can upload the .pdf file to the website but order note on order page doesn't support other file format except for image file type.
Order note supports only image file type like this.
Wordpress site: https://tropicanaoil.com/wp-admin Plugin: WPDT WooCommerce Payment (Pro)
What you need to do?
This plugin uses for upload payment receipt and do the payment confirmation. So we need to limit the file format that was uploaded through this plugin and the file format limited to PNG, JPG, JPEG only.
Why we need to do this?
This is how the plugin looks like.
Problem occur because this plugin allow users to upload any file types and formats. Like the image below. I can upload the .pdf file to the website but order note on order page doesn't support other file format except for image file type.![Image](https://github.com/zaviagodev/frappe/assets/120152434/2c639464-246f-43ad-84cf-6db0a66024ef)
Order note supports only image file type like this.![Image](https://github.com/zaviagodev/frappe/assets/120152434/fecbcaf7-7840-4965-bd22-237e6fe5dff2)