BeycanPress LLC
Forum Replies Created
-
‘woocommerce_order_status_{$status}’
Edit: It’s really interesting that you don’t even understand the problem after all these conversations. I’ll pass. I’m sorry.
- This reply was modified 9 months ago by BeycanPress LLC.
We have just received a payment and I can confirm that this did not happen. Only in your plugin the hook “woocommerce_order_status_completed” is triggered twice and this happens consecutively. That’s why it doesn’t work in our conditions.
I think it happened in the first updates in the last 1-2 months. But I don’t remember exactly when it happened. We use the general hook of WooCommerce, so assuming there is no problem with the other PayPal plugin, the problem is in this plugin. We’ve now switched to an alternative Stripe payment plugin just to be sure. Let us see if the same thing happens. We can keep you informed.
Hello, see I have not been able to solve this problem in any way. I have tried to take various measures but every time this hook is triggered twice. Please review the latest updates and resolve this bug. PayPal payments are fine but Stripe payments always generate two invoices.
Hello, the previous problem seems to have been fixed. The images are not null. However, the WordPress Blocks previews are still showing blank images. You can check it in the content below.
https://beycanpress.com/coinbase-commerce-alternatives-crypto-payments/
There is also a problem with WordPress’ preview blocks.
I am still not sure about this issue. I need to check the invoices.
Yes, the WooCommerce subscription team said that this error was caused by the user changing their card details. I had no problem with the next renewal, so there is no problem.
Thanks, but i think created another problem: (i turned old version, so you cannot see right now)
So you really don’t want to understand me, do you? Let me explain it clearly.
Previously, the “woocommerce_order_status_completed” hook was triggered once and an invoice was created.
For PayPal payments, the “woocommerce_order_status_completed” hook is still triggered once and an invoice is generated.
For Stripe payments, I think “woocommerce_order_status_completed” is triggered twice at the same time and since the process starts at the same time, two invoices are created at the same time without the invoice being created and added to the meta.
What exactly is the problem here in another plugin and code? The normal working thing is broken after your updates, not mine. I am not asking you to come and examine my code. “examine your code” you created something in your last updates.
Yes, that’s exactly right. There was no such problem before. And after the latest updates, two invoices are created.
I developed the FreshBooks SDK, but there can’t be a problem there. Because this is not a SYNC plugin. So as you can see in the code I sent you, it is triggered once after the order is completed.
Sometimes I really don’t understand. I didn’t update anything related to FreshBooks. It was working normal and stable. But I update WordPress regularly, and after an update, this problem started to occur “only with Stripe payments”.
Look, I’m only talking about Stripe payments. Exactly which third-party plugin and problem are you talking about? Can you understand me, because I can’t understand you.
That’s not very clear. Why is the “order_completed” hook being triggered twice out of the blue and I guess because this happens at the same time, the conditions I added do not work because the second is processed before the first invoice is created.
Again, there was no problem before. PayPal payments are still fine. Stripe payments are fine.
Can you look for things in your latest updates that could cause this problem?
Look, I don’t think this error is related to WooCommerce Subscription because it is not the plugin that manages the checkout process. It’s this plugin.
But I will create a ticket anyway.
- This reply was modified 9 months, 3 weeks ago by BeycanPress LLC.
WooCommerce Subscription. And everytime i am updating plugins.
Noo need add type attribute too ??
I see, so there are hooks that need to be added on the React side, but they are not available right now, right? So even if I run my code on the PHP side, it crashes because there is no equivalent on the React side. I would appreciate it if you could update me here when it is released.