Ahmad Karim
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] get_current_user_id() and wpcf7_before_send_mail()I was having the same issue too. I do not understand why would the wordpress user functions not available inside the wpcf7_mail_sent action. That action is only called when the form has passed through all the validation/security checks. What is the point of adding the filter
add_filter( 'wpcf7_verify_nonce', '__return_true' )
Please someone elaborate. Thanks!Forum: Fixing WordPress
In reply to: Developing a plugins views using reactjsThanks. I will take a look at this and see if its the right one I am looking for. I am looking more for a simple implementation rather than using any package managers. i.e, yarn, npm or webkit etc
Thanks Phil, I just created a ticket.
Hello Smith!
That is the problem, those orders (with no order notes AT ALL) do not have a log trace at all. When I search in the logs with the order id of those orders with no order notes, there is no trace of those orders where as all the other orders which have order notes they are properly logged to the logs. This is very weird and I am not sure where and how to debug those orders on how and why they are behaving like that. Stripe does not have any trace of those orders either.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Payment processing too long, about 90s@fullysupportedphil I am having a similar issue, can you please take a look here? https://www.ads-software.com/support/topic/renewal-order-is-created-and-the-status-is-set-to-pending-payment/
Is there any workaround for that?
function create_expandable_order( $order_id ) { $transaction_id = 1234; // I have the actual transaction ID $order_metas = get_post_meta($order_id, "_{$order_id}_{$transaction_id}_metas", true); // the rest of code } add_action( 'woocommerce_payment_complete', 'create_expandable_order', 10 );
This is my code, I am using the woocommerce_payment_complete hook and it seems like the order_meta has not been added to the database yet. What am I doing wrong? When I use this code after the order creation is complete it returns the order_meta
$order_metas = get_post_meta($order_id, "_{$order_id}_{$transaction_id}_metas", true);