CapSap / paddy-pronto-magento

0 stars 0 forks source link

bug - pronto selling fail - not printing out the order #24

Closed CapSap closed 8 months ago

CapSap commented 8 months ago

i think there's a problem sometimes when pressing enter 3 x times during the printing process.

a more reliable thing to try is to click on the green button

CapSap commented 8 months ago

story: script threw an error during process because the status was not 'ready to update'

script still continued on to the next order, but threw again because -p-text could not find the correct order number (i think screen was stuck on the header / details of the prev order.

what should happen: if the script finds an order where status is not ready to update- script should alert the user. it should stop selling so that it's easy to see what's gone on.

CapSap commented 8 months ago

for some reason the button click is more unreliable than the pressing enter.

i think what i'll do is add more checks. so if script is not at the right screen, press enter once more?