Comments (12)
How do we accomplish this @OskarOstlund? At the moment we do it in the following sequence:
- Customer changes shipping method.
- Billmate Checkout is locked.
- An update request is sent from Woo to Billmate.
- When the respons from the request is received
postMessage('update', '*')
is triggered. postMessage('unlock', '*')
is triggered.
Shouldn't the checkout be ready with the new and updated prices already after the request is received on your end in step 3?
from billmate-checkout-for-woocommerce.
@NiklasHogefjord This is due to cache, so you need to do the 4 and 5 step to achieve full update.
from billmate-checkout-for-woocommerce.
OK, thanks for the clarification @MattiasNilsson. But how come the price in Billmate Checkout doesn't change until approximately 1 second after step 5?
from billmate-checkout-for-woocommerce.
@NiklasHogefjord It all depends on the load of the server.
from billmate-checkout-for-woocommerce.
So, that is more of a merchant issue than a plugin issue? Or can we do anything about it @MattiasNilsson ?
from billmate-checkout-for-woocommerce.
@NiklasHogefjord This should be fixed now as the flow has changed?
from billmate-checkout-for-woocommerce.
No it is not solved in the changed flow @MattiasNilsson. The issue is still here.
According to the docs it looks as I should be able to just do a JS update and the iframe will automatically unlock when the update is done. That doesn't seem to work.
from billmate-checkout-for-woocommerce.
@NiklasHogefjord Is this one still an issue then?
from billmate-checkout-for-woocommerce.
@MattiasNilsson I don't lock/unlock anymore during update now. Perhaps you can test this and see what you think?
from billmate-checkout-for-woocommerce.
This should probably be given a once over. When I tested this could I change the delivery method adding another 10 SEK to the order and while it was loading could I finish placing the order. This caused the checkout thank you message claiming that the order cost 27.50, something that BO and the store both agreed with. However the thank you URL the store directed us to claimed that the order was 17.50 SEK.
from billmate-checkout-for-woocommerce.
@OskarOstlund & @MattiasNilsson I did a change where we don't lock/unlock BCO during update to avoid the original issue. If you want the plugin to lock down other actions during the update, then you probably need to look into how the unlock event is handled in your system. This is not anything that can be solved only in the plugin from what I can see.
from billmate-checkout-for-woocommerce.
After feedback, we decide to close this one.
from billmate-checkout-for-woocommerce.
Related Issues (20)
- Move #bco-wc-form inside the checkout form HOT 3
- Validate phone number input HOT 1
- Öppna Mobilt BankID"/IOS
- Disable checkout if no delivery method exists. HOT 1
- Critical: Selected payment method not always stored HOT 7
- Rounding error "Total Summa med Skatt är inte lika med Total Summa Exklusive Moms, Total Skatt och Avrundning" HOT 8
- Delivery address not always saved in WooCommerce order (but it's saved in Billmate Online) HOT 5
- Billmate checkout hash is missing HOT 4
- Test titel
- Woocommerce order loops "invoice fee" in order view but not in BO.
- As a customer, i want to be able to handle orders from the nordic countries HOT 2
- Make private magic functions public HOT 1
- Merchant has reported that the invoice fee is written twice. HOT 2
- customer at times missing clarification what purchase was made. HOT 3
- If you change currency mid purchase will that result in different currencies in BO and the store. HOT 2
- Include Cart.Total.withouttax not always match articles withouttax HOT 1
- Checkout->continue without PNO and then selecting trustly will redirect you back to the checkout HOT 2
- Customer not redirected to woocommerce native checkout if country not allowed. HOT 1
- Use Total.rounding HOT 1
- Merchant gets link but cannot get redirected.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from billmate-checkout-for-woocommerce.