omise / omise-woocommerce

Omise WooCommerce Plugin
https://docs.opn.ooo/woocommerce-plugin
MIT License
47 stars 27 forks source link

Rendering barcode in mobile phones vertically to avoid breakline. #197

Closed mayurkathale closed 3 years ago

mayurkathale commented 3 years ago

1. Objective

This PR is to fix issue for display of Tesco Lotus barcode on Order success page. Whenever barcode width is longer than width of screen, it breaks into 2 lines which is not readable by Barcode scanner. To overcome this issue, displaying barcode in mobile phones vertically. Keeping desktop version same.

final

Related information: Related issue(s): https://omise.atlassian.net/browse/FES-228

2. Description of change

3. Quality assurance

🔧 Environments:

i.e.

✏️ Details:

Try to checkout using tesco lotus barcode payment. See the result on the order success page.

4. Impact of the change

Barcode shouldn't break into 2 lines.

5. Priority of change

Normal

6. Additional Notes

NA