brainblocks / woocommerce-brainblocks

WooCommerce plugin for BrainBlocks
Other
26 stars 7 forks source link

Orders failing #7

Closed MintyWater23 closed 5 years ago

MintyWater23 commented 6 years ago

Hi,

I'm using Brainblocks at nanomerch.net... most of the orders that we're getting in paid for with nano are coming through as a failed order. The user is not getting confirmation that their order has gone through. In all cases but 1 (please see other issue I'll submit in a second as I feel its a separate issue) the nano has hit my wallet. So its just a case of manually setting the order to processing.

In woocommerce, I get the following error code (as an example from one today)...

"Incorrect amount: ‘49.14’ expected ‘51.88’ Order status changed from Pending payment to Failed."

So it seems like its an issue with the USD price changing whilst they're sending...

Any help is hugely appreciated!

Thanks,

Mark

bluepnume commented 6 years ago

Can you please:

  1. Expose a test item for $0.05, so I can test on your site
  2. Share all of the transactions/addresses for the failed orders so I can manually process them

Sorry for the pain, trying to dig into what is going wrong here.

schenkty commented 6 years ago

Want to add an update here. @bluepnume looks like when the shipping costs change, the button does not update with the new correct nano amount

MintyWater23 commented 6 years ago

Chatting with schenkty on discord... seems it is indeed an issue with shipping costs. If a user chooses a different shipping cost, or indeed changes their delivery country and the costs change, the nano price doesnt update...

MintyWater23 commented 6 years ago

Here are the two transactions from today that have not made it to my wallet...

5.421000 https://raiblocks.net/block/index.php?h=7754698298B214BB8F6EABABAA0337BC3B4F4137A684DA5023C41A7A1106A687

2.409000 https://raiblocks.net/block/index.php?h=EF6CD1BC465EE0A0133C6CFCB3051397D3682951EA0989E98F1392459E1019A5

bluepnume commented 6 years ago

OK, thanks for the details. Looks like those two orders have been auto-refunded. Can you please either cancel those orders, or contact the buyers to ask them to re-send the funds manually?

On the shipping cost, thanks both for spending time to figure that out. I'll look into how the woocommerce plugin can be fixed to account for changing shipping.

Again, really sorry for all of the teething problems here.

MintyWater23 commented 6 years ago

@bluepnume Thanks! I'll ping the customers and ask if they can send manually :)

An edit to the plugin to allow shipping updates would be lovely, let me know if you go ahead with that!

Thanks to you and @schenkty for very quick responses, really appreciated!

bluepnume commented 6 years ago

FYI, I've uploaded a new version of this plugin, which includes an option (enabled by default) to do a full-page redirect rather than showing the brainblocks button inline. Would appreciate if you can try this instead if you're still seeing problems, as it should resolve some compatibility issues.

https://brainblocks.io/static/woocommerce-gateway-brainblocks.zip

screen shot 2018-03-11 at 2 46 09 pm
MintyWater23 commented 6 years ago

Thanks for the update. Will this fix the shipping value issue? As is, if a user changes the shipping cost after the checkout page has loaded the nano value does not change and is therefore incorrect and the order fails despite the user having sent funds.

Thanks,

Mark

Mark Boyd Managing Director 07843 606 434 0131 <0131+610+8726>285 0900 <07843+606+434> http://www.transparentdigital.co.uk

Skype: MarkJWBoyd https://mail.google.com/mail/u/0/#

100b Constitution Street, Edinburgh, EH6 6AW http://www.facebook.com/Transparent-Digital-438983762880893/timeline/ http://www.linkedin.com/profile/view?id=AAIAAALkccoBxo6FDAIp9fxIyhpNXexvLcIWSNw&trk=nav_responsive_tab_profile http://twitter.com/boydy

On 11 March 2018 at 21:52, Daniel Brain notifications@github.com wrote:

FYI, I've uploaded a new version of this plugin, which includes an option (enabled by default) to do a full-page redirect rather than showing the brainblocks button inline. Would appreciate if you can try this instead if you're still seeing problems, as it should resolve some compatibility issues.

https://brainblocks.io/static/woocommerce-gateway-brainblocks.zip

[image: screen shot 2018-03-11 at 2 46 09 pm] https://user-images.githubusercontent.com/1219075/37258846-24668280-253b-11e8-987d-957b6d1f87d3.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/brainblocks/woocommerce-brainblocks/issues/7#issuecomment-372152781, or mute the thread https://github.com/notifications/unsubscribe-auth/Ai2XYlsejKaypSlmeb3gX8bJ3eVZBjU0ks5tdZyYgaJpZM4SIgbT .

bluepnume commented 6 years ago

Yes, it should fix that issue. Please let me know if you still see the problem after this update, in full-page mode.