Comments (5)
Hi @DanielMarklund, today we release version 1.2.0 which might have solved the issue. Could you please test your use case and come back with feedback?
from billmate-checkout-for-woocommerce.
Hi @andyjohansson, I will try it out the upcoming week and report back with results. As I'm unable to recreate the issue we depend entirely on customers reporting the issue - so it might take some time to get feedback.
from billmate-checkout-for-woocommerce.
@andyjohansson This problem still occurs after the 1.2.0 update.
from billmate-checkout-for-woocommerce.
@andyjohansson @NiklasHogefjord
I've finally gotten time to debug this and found the culprit.
Why does this happen?
If you have WooCommerce set on "Force shipping to the customer billing address", the shipping address fields will not get updated as those elements are not rendered on the checkout page. Only the billing address fields are rendered (but hidden via css).
In the previous version of BCO (not this repo) this wasn't an issue as it updated the order data when creating the order. In this version of BCO, the fields are filled via JS when interacting with the checkout iframe.
How to fix this issue at the moment
- Go to WooCommerce -> Settings -> Shipping -> Shipping Options.
- BCO requires using either "Default to customer shipping address" or "Default to customer billing address". Select the shipping address option.
The reason why we forced the shipping to the customer billing address is due to us not wanting to render shipping fields for the simple payment gateway (when ordering internationally).
Proposed fixes for future versions
As I agree on using JS to populate the shipping/billing fields (for flexibility), I will make changes on our side to resolve this issue. However, I do recommend implementing any of these proposed fixes:
- Render a warning dialog if force shipping to billing address is enabled.
- Disable the change shipping address option in the BCO iframe if force shipping to billing address is enabled.
- Number 1 and 2 combined, but display the warning in the BCO settings.
- Update the shipping address order data when the order changes from Billmate Checkout Incomplete to Processing.
from billmate-checkout-for-woocommerce.
We will update the documentation with information about what to think about regarding this. Something like the following:
If the Billmate Checkout setting Hide shipping address is unchecked, you need to make sure that the WooCommerce setting Shipping destination is not set to Force shipping to the customer billing address (located in --> WooCommerce --> Settings --> Shipping --> Shipping options). Otherwise, the shipping address entered in Billmate Checkout will not be saved to the order in WooCommerce.
The reason behind this is because the customer address entered in Billmate Checkout is added to the order in WooCommerce via the standard WooCommerce checkout form. If no shipping address fields are available in WooCommerce then there is no way for the entered shipping address data to be added to WooCommerce.
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
- 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.