miroslavps
Forum Replies Created
-
Forum: Plugins
In reply to: [Multi-Step Checkout for WooCommerce] Woocommerce Blocks CompatabilityThank you for the quick response!
Regards!
Forum: Plugins
In reply to: [WooCommerce] Zero Total Order and process_payment methodThank you!
I just needed to know if my observations are correct.
Regards!
Forum: Plugins
In reply to: [WooCommerce] Zero Total Order and process_payment methodThanks for the answer!
I am not sure what other details to provide. I test with same product. First I put some price bigger than 0, so the Total is also bigger. I finish the order and the process goes go through process_payment(). There is a logger function in the method.
Then change the price of the same product to 0, use free shipping, so the Order total is 0, finish the order and there is no logged message from process_payment(). I mark this as failed test because I save some custom data in the Order in process_payment(), which I use later.
Same test passed may be a month or less ago with WC 8.9.*. So instead of guessing I decide to ask directly is there any change in WC 9.0.1 or 9.0.2 who skip process_payment() when the order has total 0.
Regards!
Thanks!
Do not worry at the moment! Looks like I need to dig into React.
Regards!
Hi guys!
If I can ask here a question – I also tried to put an icon next to the gateway name. It works, but when I create the span with wp.element.createElement in the DOM, my span has a strange property called components. I create the label like this:
label = window.wp.element.createElement( "span", null, label + ' ', icon ); const blocksOptions = { name: 'some name', label: label, ...
where label is string and icon is another element created like the label. My span in the DOM looks like this:
<span components="[Object Object]">
It looks like I try to convert object in a string, but can not understand where.
Did someone faced behavior like this?
Regards!
PS – the same happen for div also. And happen no matter if I add icon or just a plain text.
PPS – When I use the example in the above post it works of course, but still what to know what was my error ??
- This reply was modified 11 months, 3 weeks ago by miroslavps.
- This reply was modified 11 months, 3 weeks ago by miroslavps.
Forum: Plugins
In reply to: [WooCommerce] Payment Gateway Blocks supportAt the end I found my error. The catch is when you set you block javascript – gatewayBlockOptions.name must be same as the id parameter form main gateway class.
I hope this will spend someone few hours ??
Forum: Plugins
In reply to: [WooCommerce] Payment Gateway Blocks supportThank you for the response!
I will follow your recommendations and hope to solve the problem and share the solution.
Regards!
Forum: Plugins
In reply to: [WooCommerce] Few questions about WC SubscriptionsThanks!
Forum: Plugins
In reply to: [WooCommerce] Few questions about WC SubscriptionsPS – about question 2 – I found how to edit a subscription and set the next payment to executes after an hour. It is still to long for testing, but better than 24 hours ?? Still if someone give me idea how to reduce the time to 10 min will be great! At the moment I do it directly into the DB.
- This reply was modified 1 year, 11 months ago by miroslavps.
There is a problem with the upload but may be it is into WP, because the default media upload does not work.
I found another problem in gallery build query – it always sort DESC, and if there is query and you click on build button most of the query is not selected into the menus.PS – missing images are because you are using paid module and gallery contain more than 40 images, probably.
- This reply was modified 2 years, 8 months ago by miroslavps.
- This reply was modified 2 years, 8 months ago by miroslavps.
Forum: Plugins
In reply to: [Gmedia Photo Gallery] Gallery Cache tipsPS my goal is to modify the tags.
Regards!Forum: Plugins
In reply to: [Gmedia Photo Gallery] Gallery Cache tipsAnd one more question, is there a hook or filter to call after the gallery is loaded?
Regards!Forum: Plugins
In reply to: [Gmedia Photo Gallery] Gallery Cache tipsThanks!
Forum: Plugins
In reply to: [Gmedia Photo Gallery] Gallery Cache tipsThanks!
And just to understand, this action will do same as I set the cache expiration to 0, or will affect the votes only?
I do not want to stop completely stop the cache, the only dynamic thing it them are the votes, and there are not much of them.Regards!
Forum: Plugins
In reply to: [WooCommerce] Create a refund programmaticallySorry guys, I missed parameter refund_payment in data array for the wc_create_refund.
I set it to false, and I skip the check if ( ! $result ).So do not worry with this.
Regards!