baperrou
Forum Replies Created
-
Hello HC. I have another issue with the plugin.
My user/customer has 15+ saved addresses. When he checks out and selects one of these saved addresses and clicks pay, nothing happens and no errors are shown. This is only when select a non-default address from the checkout dropdown. Can you assist?Multisite images



- I should have been more clear, the error results and I do not have the option to add an address on checkout, even though that option is selected in settings. When trying to log the parameters needed for this, nothing is coming back. A few images attached (this is one site)
- Excellent, thank you for the compiling directions, I wasn’t sure which extra npm packages I would need and your code is set up to install!
- I have installed the plugin at network level, but activated at the site level. I have cleared caches/and updated permalinks to try and pull in your page. But I receive a 404 error because it doesn’t recognise the permalink. See image attached. (this is on a second site/multisite)
Thanks once again for being so responsive.


- This reply was modified 10 months ago by baperrou.
Hi again HC.
I have been trying to fault find your JS, but because you are compiling it, I am having a hard time testing changes.
1. Currently none of the AddressSelectorFrontend constants are being initiated. Your console log is returning
[HCMA Blocks Frontend shipping] Conditions not met for display (options.length=2, allowNew=true. Returning null.
2. Is it possible to compile a non-minified version of block-frontend.js to allow testing/changes on my end
3. Is it possible to make this Multisites. I am unable to get the account endpoint ‘hc-address-book’ to show in my multisite set up.
Thank you again.- This reply was modified 10 months ago by baperrou.
Can I also ask if you will test this with multi-site. I’m currently having issues getting it to show. Thank you.
Also note, that add/edit address is not available on checkout.- This reply was modified 10 months ago by baperrou.
Thanks for much for the quick update.
Regarding backend management of addresses, user switching will not work for us. We want to use the API to import address from our CRM, I expect we can run a json request to update the user_meta _hc_wcma_billing_addresses/_hc_wcma_shipping_addressesNo problem Yordan. I had another investigation today. I realised that I was changing the paper orientation for some documents and was only returning the $paper_orientation variable sometimes, now always. hence the error. Thank you for pointing me in the right direction.
BethThanks Yordan. I did a search to see if I was using any custom sizes, I couldn’t find any. I will go to the errors now.
2023-02-09T06:50:53+00:00 CRITICAL Fatal error: Argument 2 passed to Dompdf\Dompdf::setPaper() must be of the type string, null given, called in /home/customer/www/dev.doitsimply.co.uk/public_html/chilli/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php on line 52 (/home/customer/www/dev.doitsimply.co.uk/public_html/chilli/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php:968)
Thanks Elvis. That bit of CSS wasn’t in my code anywhere, I had removed it already but my servers were caching an old file I hadn’t realised they were.
Thank you for digging into this. So much better now!