• Resolved Sergej Grusdew

    (@sergej-grusdew)


    Hey there,

    I have just installed the plugin together with Klarna order management. It appears but the iframe is not loading properly.

    In the developer console I get an Object shown:

    Object
    change_payment_method_nonce: “3449b1da94”
    change_payment_method_url: “/?wc-ajax=kco_wc_change_payment_method”
    checkout_error_nonce: “de5f2834be”
    checkout_error_url: “/?wc-ajax=kco_wc_checkout_error”
    form: []
    iframe_shipping_address_change_nonce: “6d0d7f0d5b”
    iframe_shipping_address_change_url: “/?wc-ajax=kco_wc_iframe_shipping_address_change”
    logging: “1”
    save_form_data: “/?wc-ajax=kco_wc_save_form_data”
    save_form_data_nonce: “8d3f1af026”
    standard_woo_checkout_fields: (17) [“billing_first_name”, “billing_last_name”, “billing_address_1”, “billing_address_2”, “billing_postcode”, “billing_city”, “billing_phone”, “billing_email”, “shipping_first_name”, “shipping_last_name”, “shipping_address_1”, “shipping_address_2”, “shipping_postcode”, “shipping_city”, “terms”, “account_username”, “account_password”]
    update_cart_nonce: “e3e2db0e01”
    update_cart_url: “/?wc-ajax=kco_wc_update_cart”
    update_extra_fields_nonce: “042474e829”
    update_extra_fields_url: “/?wc-ajax=kco_wc_update_extra_fields”
    update_klarna_order_nonce: “6b78daaa3a”
    update_klarna_order_url: “/?wc-ajax=kco_wc_update_klarna_order”
    update_shipping_nonce: “e8f707b82c”
    update_shipping_url: “/?wc-ajax=kco_wc_update_shipping”
    __proto__: Object

    I am using Woocommerce 3.4.6.

    Maybe you have a hint for me.

    Thanks in advace,

    Sergej

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Krokedil

    (@krokedil)

    Perfect that we could resolve this issue!

    Hi! Have the same issue, How did you resolve this ?

    Plugin Contributor Kristi at Klarna

    (@klarna)

    @carltennberg – Previously this ticket was solved by using the matching Woo Klarna plugin for the contracted Klarna credentials:

    If you have a merchant-id with 5-numbers its usually for the old Klarna V2 platform and if its 2 letters and 6-numbers it’s for Klarna’s new platform V3.

    Here are links to the plugins for the different platforms:

    Klarna Checkout – V2 agreement:
    https://github.com/krokedil/woocommerce-gateway-klarna/releases
    Documentation:
    https://docs.woocommerce.com/document/klarna/

    Klarna Checkout . V3 agreement:
    https://woocommerce.com/products/klarna-checkout/
    Documentation:
    https://docs.woocommerce.com/document/klarna-checkout/

    If this doesn’t help you resolve the issue, please provide the Klarna MID (merchant ID) and we can check the logs for errors.

    Hi! I have the v3 100% i upgraded from v2.
    Big thx in advance.

    Merchant id: PK04486

    Plugin Contributor Kristi at Klarna

    (@klarna)

    I see a successful create_session call for Klarna Payments (https://docs.woocommerce.com/document/klarna-payments/) in our logs. Are you wanting to use Klarna Checkout or Klarna Payments? For more info, see https://docs.woocommerce.com/document/moving-v2-v3-klarna/

    Have you deactivated the previous KCOv2 woocommerce-gateway-klarna plugin?

    In that KP create_session call, the request was for B2B (customer type=organization), not B2C, but auto-generated playground credentials do not have the B2B product configured, so you would get no options available. If you do want to continue to test with Klarna Payments, please try setting the option to B2C, and after changing configuration settings, it is recommended to try testing with a new incognito window to get a clean session.

    “customer” : {
    “type” : “organization”
    }
    response” : {
    “timestamp” : “2019-01-13T14:18:41Z”,
    “status” : 200,
    “Klarna-Correlation-Id” : “e314b9fb-e3aa-43c1-932c-8ed1635352e2”

    If you want to continue testing with Klarna Payments, can you retest with a new session and provide the exact error that you are getting?

    i Know, i can see the logs for the payments, i tried that also to see if i can get that to load but it wont same problem, the orignal checkout is showed and its says you dont have any payment options for this address.
    same with both Payments and Checkout. The old plugin is removed.

    Plugin Contributor Krokedil

    (@krokedil)

    Hi Carl,

    I’m mailing you from our support-mail. So let’s continue there if that’s ok with you?

    Andreas

    No problem ??

    Plugin Contributor Krokedil

    (@krokedil)

    Solution in this case ( @carltennberg ) was to configure the WooCommerce Role Based Methods plugin
    settings so the payment gateway is activated for the WP user role you have.

    • This reply was modified 6 years, 2 months ago by Krokedil.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Iframe not loading’ is closed to new replies.