Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Renz Ramos

    (@imrenzramos)

    Hello,

    If you can check the screenshot, it shows that the server events are about 2–3 times higher than the browser events (though following the same trend). We suspect that there might be duplicated events.

    The ads team also mentioned that the purchase events are higher compared to the actual purchases.

    Thread Starter Renz Ramos

    (@imrenzramos)

    Hi,

    Here is the screenshot:
    https://snipboard.io/clRxMy.jpg

    Can you please check if this is normal or if there’s something wrong? The server events appear to be 2–3 times higher than the browser events.

    Thread Starter Renz Ramos

    (@imrenzramos)

    Final fix

    process_payment function for cc

    // Fixed cynder-paymongo-gateway.php process payment // Check Payment Intent ID $paymentIntentId = get_post_meta($orderId,'paymongo_payment_intent_id',true); if (!get_post_meta($orderId,'paymongo_payment_intent_id')){ // Logs wc_get_logger()->log('error', 'Renz Missing Intent ID'); wc_get_logger()->log('info', 'Creating Intent ID'); // Set Payment Method update_post_meta($orderId,'_payment_method','paymongo'); update_post_meta($orderId,'_payment_method_title','Credit Card'); update_post_meta($orderId,'_payment_method_note','FixedRnzdev'); // Generate Payment Intent cynder_paymongo_create_intent($orderId); // Refetch Payment Intent ID $paymentIntentId = get_post_meta($orderId,'paymongo_payment_intent_id',true); wc_get_logger()->log('info', 'Intent ID Created: ' . $paymentIntentId); } // $paymentIntentId = $order->get_meta('paymongo_payment_intent_id');
    Thread Starter Renz Ramos

    (@imrenzramos)

    I fixed the issues, I’m enable now to checkout using CC.

    Issues:
    – PHP 8.2 is not supported, downgraded to 7.4
    wc-paymongo-payment-gateway/classes/cynder-paymongo-gateway.php, under process payment function, after $order = wc_get_order($orderId), I re-call the intent creation at line 309 cynder_paymongo_create_intent($order);
    -for cynder_paymongo_create_intent, the description adjusted to “.” as per error log, it’s need to lower than 100. 2023-06-18T11:43:15+08:00 ERROR [Create Payment Intent] [{“code”:”parameter_above_maximum”,”detail”:”The value for description cannot be more than 1000 characters.”,”source”:{“pointer”:””,”attribute”:”description”}}]

    Thank you,
    Renz

    Thread Starter Renz Ramos

    (@imrenzramos)

    Yes. I did that.

    I added the code below in the specific template
    echo do_shortcode(‘[DISPLAY_ULTIMATE_SOCIAL_ICONS]’);

    But the resources of plugin still active in other pages without the shortcode. It affects the loading time of the page.

    • This reply was modified 7 years, 9 months ago by Renz Ramos.

    Hi,

    I think I found the solution. Kindly check your tableprefix_post structure if the ID is set to primary and auto increment.

    Also please remove all auto draft post with the ID of ‘0’.

    Renz Ramos

    • This reply was modified 8 years, 2 months ago by Renz Ramos.
    • This reply was modified 8 years, 2 months ago by Renz Ramos.
Viewing 6 replies - 1 through 6 (of 6 total)