Renz Ramos
Forum Replies Created
-
Forum: Plugins
In reply to: [Payments via PayMongo for WooCommerce] Issue on credit card paymentFinal 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');Forum: Plugins
In reply to: [Payments via PayMongo for WooCommerce] Issue on credit card paymentI 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,
RenzForum: Plugins
In reply to: [Social Media Share Buttons & Social Sharing Icons] How dequeue scripts?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 6 years, 5 months ago by Renz Ramos.
Forum: Plugins
In reply to: [Yoast SEO] Yoast SEO breaking login, new post, CF7 messages etcHi,
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 6 years, 9 months ago by Renz Ramos.
- This reply was modified 6 years, 9 months ago by Renz Ramos.