geca
Forum Replies Created
-
What I’m trying to figure out is why you don’t get a valid WC_Order here:
$args = array( 'meta_query' => array( array( 'key' => 'bankart-payment-id', 'value' => $payment_id, 'compare' => '=', ) ), 'post_type' => 'shop_order', ); $posts_found = get_posts($args); $order = new WC_Order($posts_found[0]);
Can you replace the code above with this one and let me know what gets logged?
$args = array( 'meta_query' => array( array( 'key' => 'bankart-payment-id', 'value' => $payment_id, 'compare' => '=', ) ), 'post_type' => 'shop_order', ); $this->log("args: " . print_r($args, true)); // This line is new. $posts_found = get_posts($args); $this->log("posts_found: " . print_r($posts_found, true)); // This line is new. $order = new WC_Order($posts_found[0]);
Plus, what “post_type” is the post with ID=8455?
Edit: additional logging.
Ok. What is the “post_id” for the record with “meta_value” = 3566419581382340 ?
Hi, for starters please execute the following select on your DB (via phpMyAdmin for example) and let me know what you get.
select * from wp_postmeta where meta_key = 'bankart-payment-id'
Forum: Plugins
In reply to: [WooCommerce 3D Secure (Bankart) Payment Gateway] Stuck on bankart_callbackThis should be fixed as of now. Feel free to open a new ticket if the problem persists.
Forum: Plugins
In reply to: [WooCommerce 3D Secure (Bankart) Payment Gateway] Stuck on bankart_callbackHi,
don’t have any test cards available at the moment to do the troubleshooting myself. Here’s a quick idea though – go inside “index.php”, find “request_hpp_url” function.
Replace
$response_url = str_replace('https:', 'http:', home_url('/wc-api/' . $this->id . '_callback'));
with
$response_url = "https://pomagajmi.si/wc-api/bankart_callback";
(note the https).Let me know if it helps.
Forum: Plugins
In reply to: [Weebly Importer Lite] Nothing happensMarking as resolved.
Forum: Plugins
In reply to: [Weebly Importer Lite] Nothing happensI see. Well, guess I’ll have to wait for someone else to encounter the same problem. ??
Forum: Plugins
In reply to: [Weebly Importer Lite] Nothing happensYou’re welcome, Jesse. What’s the URL of your blog?
Forum: Plugins
In reply to: [Weebly Importer Lite] Nothing happensTry using my free webapp and let me know if you get a proper RSS feed for your blog.