Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • mrine7

    (@mrine7)

    I have a similar question.

    Using JetEngine for Custom post types and relations between these post types. I would like to hide the section showing these related posts if there are no relational posts to show.

    But it seems like your plugin is not reading the value of these relation field correctly. Since the DynamicTag-value is always empty (even when there are relational posts).

    See:
    Element:section-a77e3e9 (section)
    DynamicTag-Tag:jet-post-custom-field
    DynamicTag-Key:
    DynamicTag-Value:
    DynamicTag-Value-Raw:
    Check-Value:
    Check-Value2:
    Condition-Type:
    Condition:Hide if empty
    Condition met:yes

    How can I fix this? Hope to hear soon!

    Thread Starter mrine7

    (@mrine7)

    Hi there,

    Thanks for your quick response.

    And thanks for your clear explanation of those errors. I’ve changed the autocomplete plugin settings to ‘any paid order’ instead of ‘any order’. This seems to be the solution, I just did a test order and it changed to ‘completed’ instantly.

    The client is now reviewing and further testing. But it looks like you gave me the perfect solution to the problem, thanks a lot for the great support!

    Have a pleasant day.

    Thread Starter mrine7

    (@mrine7)

    That’s good to hear!

    The autocomplete plugin is set to: “Any order(!!!)”

    This is the log from 26-09-2018, I completed two orders, #1423 @ 16:17 with an actual iDeal payment and one in Mollie test mode (#1425 @ 17:35).

    So in test mode the order status will update to ‘completed’ but with an actual iDeal payment the status won’t change automatically.

    Screens order notes:
    #1425: https://snag.gy/bSUMzc.jpg
    #1423: https://snag.gy/N61qgJ.jpg

    Woocommerce logs:

    2018-09-26T16:16:54+00:00 DEBUG mollie_wc_gateway_ideal: Start process_payment for order 1423
    2018-09-26T16:16:54+00:00 DEBUG mollie_wc_gateway_ideal: Order 1423 webhookUrl: https://www.yourappic.com/wc-api/mollie_wc_gateway_ideal/?order_id=1423&key=wc_order_5bab94d0e1540
    2018-09-26T16:16:54+00:00 DEBUG mollie_wc_gateway_ideal: Create payment for order 1423
    2018-09-26T16:16:55+00:00 DEBUG mollie_wc_gateway_ideal: Payment tr_b2yEmwjdqm (live) created for order 1423
    2018-09-26T16:16:56+00:00 DEBUG For order 1423 redirect user to Mollie Checkout URL: https://bankieren.ideal.ing.nl/ideal/betalen/inlog-annuleren/static/detect_mob?trxid=0030003255595098&random=zbfc98623b820bb6
    2018-09-26T16:17:26+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment tr_b2yEmwjdqm (live) webhook call for order 1423.
    2018-09-26T16:17:26+00:00 DEBUG mollie_wc_gateway_ideal: Order 1423 orderNeedsPayment check: yes, not processed by Mollie gateway.
    2018-09-26T16:17:26+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid called for order 1423
    2018-09-26T16:17:27+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 1423: Determine what the redirect URL in WooCommerce should be.
    2018-09-26T16:17:27+00:00 DEBUG mollie_wc_gateway_ideal: Order 1423 orderNeedsPayment check: yes, not processed by Mollie gateway.
    2018-09-26T16:17:28+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_ideal, order 1423: https://www.yourappic.com/afrekenen/order-received/1423/?key=wc_order_5bab94d0e1540&utm_nooverride=1
    2018-09-26T16:17:41+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid WooCommerce payment_complete() processed and returned to onWebHookPaid for order 1423
    2018-09-26T16:17:42+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid processing paid order via Mollie plugin fully completed for order 1423
    2018-09-26T16:18:44+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment tr_b2yEmwjdqm (live) webhook call for order 1423.
    2018-09-26T16:18:44+00:00 DEBUG Mollie_WC_Gateway_Abstract::handlePaidOrderWebhook - mollie_wc_gateway_ideal: Order 1423 does not need a payment by Mollie (payment tr_b2yEmwjdqm).
    2018-09-26T16:18:44+00:00 DEBUG Mollie_WC_Gateway_Abstract::processRefunds called for order 1423 / payment tr_b2yEmwjdqm
    2018-09-26T16:18:44+00:00 DEBUG Mollie_WC_Gateway_Abstract::processRefunds: No refunds to process for order 1423 / payment tr_b2yEmwjdqm
    2018-09-26T16:18:44+00:00 DEBUG Mollie_WC_Gateway_Abstract::processChargebacks called for order 1423 / payment tr_b2yEmwjdqm
    2018-09-26T16:18:44+00:00 DEBUG Mollie_WC_Gateway_Abstract::processChargebacks: No chargebacks to process for order 1423 / payment tr_b2yEmwjdqm
    2018-09-26T17:32:37+00:00 DEBUG Mollie_WC_Helper_Data::deleteTransients: Mollie settings saved, delete transients
    2018-09-26T17:34:54+00:00 DEBUG mollie_wc_gateway_ideal: Start process_payment for order 1425
    2018-09-26T17:34:54+00:00 DEBUG mollie_wc_gateway_ideal: Order 1425 webhookUrl: https://www.yourappic.com/wc-api/mollie_wc_gateway_ideal/?order_id=1425&key=wc_order_5baba717d9ec6
    2018-09-26T17:34:54+00:00 DEBUG mollie_wc_gateway_ideal: Create payment for order 1425
    2018-09-26T17:34:54+00:00 DEBUG mollie_wc_gateway_ideal: Payment tr_2Fe7NnnUFE (test) created for order 1425
    2018-09-26T17:34:54+00:00 DEBUG For order 1425 redirect user to Mollie Checkout URL: https://www.mollie.com/paymentscreen/testmode/?method=ideal&token=4t5xr9
    2018-09-26T17:35:27+00:00 DEBUG mollie_wc_gateway_ideal: Mollie payment tr_2Fe7NnnUFE (test) webhook call for order 1425.
    2018-09-26T17:35:27+00:00 DEBUG mollie_wc_gateway_ideal: Order 1425 orderNeedsPayment check: yes, not processed by Mollie gateway.
    2018-09-26T17:35:27+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid called for order 1425
    2018-09-26T17:35:42+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 1425: Determine what the redirect URL in WooCommerce should be.
    2018-09-26T17:35:42+00:00 DEBUG mollie_wc_gateway_ideal: Order 1425 orderNeedsPayment check: yes, not processed by Mollie gateway.
    2018-09-26T17:35:43+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_ideal, order 1425: https://www.yourappic.com/afrekenen/order-received/1425/?key=wc_order_5baba717d9ec6&utm_nooverride=1
    2018-09-26T17:35:47+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid WooCommerce payment_complete() processed and returned to onWebHookPaid for order 1425
    2018-09-26T17:35:47+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookPaid processing paid order via Mollie plugin fully completed for order 1425
    2018-09-26T17:36:39+00:00 DEBUG Mollie_WC_Helper_Data::deleteTransients: Mollie settings saved, delete transients
    2018-09-26T17:37:16+00:00 DEBUG getPayment: Could not load payment tr_2Fe7NnnUFE (test): Error executing API call (404: Not Found): Payment tr_2Fe7NnnUFE exists, but the wrong mode is used. Try switching live / test API keys.. Documentation: https://docs.mollie.com/guides/handling-errors (Mollie\Api\Exceptions\ApiException)
    2018-09-26T17:37:16+00:00 DEBUG Mollie_WC_Gateway_Abstract::onWebhookAction: payment tr_2Fe7NnnUFE not found.
    Thread Starter mrine7

    (@mrine7)

    Hi Barry,

    I’ve managed to get this to work. But I’m wondering if this is a good (and healthy) solution. The fact that it works, doesn’t mean it’s good.

    <?
    $freedownload = $dlm_download->is_members_only();
     if ( $freedownload == 1 ) {
      echo "free";
    }
     else {
      echo "not free";
    }
    ?>

    Thanks!

    Thread Starter mrine7

    (@mrine7)

    Dear Barry,

    This doesn’t seem to work 🙁

    Is the download_id automatically created and stored by the download monitor plugin?

    I hope you can help me.

Viewing 5 replies - 1 through 5 (of 5 total)