ant-hq / magento-module

MIT License
0 stars 0 forks source link

When a webhook fails to send (for whatever reason), the UI should have a button to resend the order to Ant #4

Open achadee opened 6 years ago

achadee commented 6 years ago

We recently had a order that failed to send a webhook to ANT. The reason is still unknown. Id like a button in the magento UI that re-triggers the webhook when you click it

screen shot 2018-04-18 at 3 45 26 pm

maybe something on the list when viewing an order. Is this possible?

achadee commented 5 years ago

or alternatively webhooks can just "work" haha. I assume you guys have some decent ideas around rebuilding this with cron

PivitParkour94 commented 5 years ago

The easiest solution is probably to add a button into the Order UI to resend the webhook to ant something like "Sync With Ant"

achadee commented 5 years ago

I was thinking here: https://github.com/ant-hq/magento-module/issues/5#issuecomment-465387510

PivitParkour94 commented 5 years ago

It's always a good idea to both have an automated (cron in this case) way of syncing as well as the manual option if the automation doesn't work for whatever reason.

With that in mind, it may be worth having a sync with Ant button on all customer, Product and Order UI's in Magento

PivitParkour94 commented 5 years ago

Removing the Sync WIth Ant Button on Customer data as the customer data is inferred from the Order data. No need to manually sync that.