blockonomics / opencart-plugin

Bitcoin plugin for Opencart v4 by Blockonomics
4 stars 7 forks source link

Orders show up as 'Missing Orders' #5

Closed darkerego closed 4 years ago

darkerego commented 5 years ago

So, neither the client nor myself can see when a customer has placed an order using your payment method. Even after the invoice is paid, the order does not show up in the clients order history like it should, and it does not show up in the admin panel either. It is only viewable under 'missing orders', and the only thing I can do is manually change each order from missing to pending - which is not viable. This does not happen when I use other payment methods.

blockonomics commented 5 years ago

Sorry, we somehow missed this. Darren can you confirm if this issue still exists

blockonomics commented 5 years ago

@DarrenWestWood

DarrenWestwood commented 5 years ago

Hi @darkerego.

When the payment by your customer is received the status will be updated accordingly (I have attached screenshots below of the current functionality). If your Callback URL is set up correctly, then it is possible the payment notifications are not reaching your server. Please refer to this article to assist you in diagnosing and fixing the issue.

Blockonomics Settings: Opencart Blockonomics Settings Admin Orders: Opencart Orders Client Order History: Client Order History

darkerego commented 5 years ago

Hi @DarrenWestwood , I ended up fixing it and I think that this was the solution, but I no longer have that server and can't remember exactly. So I suppose you can close this issue if you'd like. Thank you for your assistance.

DarrenWestwood commented 5 years ago

@blockonomics , please re-open this issue

&1 is appended to the end of the callback url. This leads to the wrong url being copied, which further leads to callbacks failing and orders remaining in Missing Orders.

opencart issue

jusasiiv commented 4 years ago

Added a PR that has a suggested solution. All created orders go to status "Missing order" which is default if nothing is set. PR adds the order status to "Pending" as soon as the order is created. Missing orders do not show up in UI anywhere unless they are specifically searched for.

&1 is appended to the end of the callback url. This leads to the wrong url being copied, which further leads to callbacks failing and orders remaining in Missing Orders.

Could not replicate this (tried generating new secrets and installing a fresh plugin). Any suggestions on how this could be achieved? Also could you verify with a clean plugin installation that it happens again.