nomiddleman / nomiddleman-woocommerce

WooCommerce cryptocurrency payment gateway focused on admin empowerment
https://nomiddlemancrypto.io
GNU General Public License v3.0
42 stars 38 forks source link

Updated QR Code images to use unique filenames #16

Open rmwb opened 4 years ago

rmwb commented 4 years ago

Each order was referencing the same cached 'tmp_qrcode.png' image file which could have caused confusion and errors for those trying to use the QR code to pay. I've added the Order ID number to the filename to ensure a unique QR code is presented for each order. Busy sites may get clogged up with older QR codes after some time. Ideally, it would be good to somehow make these temporary.

rmwb commented 4 years ago

P.S. contact me if you need someone to re-host https://nomiddlemancrypto.io

rmwb commented 3 years ago

Ouch! I updated without realising my pull request hadn't been approved. How is anyone using this plugin when every QR Code has the same URL. I'm suddenly getting confused customers paying for the wrong order again.

chrisspiegl commented 3 years ago

This seems to still be the case? I can't use this plugin in this state. Every order seems to have the same filename and file served? What can we do here?