• Resolved rostamx

    (@rostamx)


    ! {“error_code”:”READ_ONLY_ORDER”,”error_messages”??”Resource is read-only”],”correlation_id”:”bc1017a4-8786-4efb-97a9-79815eec7947″,”service_version”:”1.0.20200320090732″} Resource is read-only

    Im on latest klarna plugin and WC 4.0.1

    Anyone knows what this is? it pops up over where you fill in customer credentials on front end

Viewing 15 replies - 1 through 15 (of 20 total)
  • Plugin Author Kristi at Klarna

    (@klarna)

    Hi @rostamx
    Please also update the Woo Klarna Order Management plugin to the latest version 1.5.1 (https://github.com/krokedil/klarna-order-management-for-woocommerce/releases/tag/1.5.1) and retest with a fresh order and hopefully that will resolve this issue.

    Thread Starter rostamx

    (@rostamx)

    Hi @klarna

    Im already on Klarna Order Management 1.5.1 when this happens ??
    any ideas?

    i have the same problem on my website today.

    Plugin Author Kristi at Klarna

    (@klarna)

    @ivywinkvist – Klarna and Krokedil are reviewing this as multiple merchants were affected similarly starting today. Code update is in progress to resolve this issue.

    Same issue here. Tell us if we should give any data for troubleshooting.

    Same issue!

    Plugin Author Kristi at Klarna

    (@klarna)

    Plugin Contributor Krokedil

    (@krokedil)

    Hi!

    On April 2, between 11:50 and 16:35 CET, Klarna introduced a change in the Klarna Checkout platform that caused orders to be created in Klarna’s system but not in WooCommerce. This issue affected some merchants using version 2.x of the Klarna Checkout for WooCommerce plugin

    Klarna has now rolled back this change and orders are now being created correctly in both systems again.

    If you notice orders in Klarna’s system that don’t exist in WooCommerce, you can take the following steps to import the orders into WooCommerce.

    1. Make sure that you don’t have any duplicate orders from one and the same customer in Klarna’s Merchant portal. (If there are duplicate orders, cancel all but one of the duplicates in the Klarna Merchant Portal.)

    2. Roll back to Klarna Checkout for WooCommerce version 1.11.7. To be able to roll back easily you can use the plugin WP Rollback (https://www.ads-software.com/plugins/wp-rollback/).

    3. Via Klarna’s push notification, the missing orders will be created in WooCommerce (push notifications will be triggered up to 48 hours after the purchase from Klarna to the WooCommerce store as documented at: https://developers.klarna.com/documentation/klarna-checkout/integration-guide/confirm-purchase/).

    We apologize for the inconvenience that this issue is causing. We will keep a dialogue with Klarna to make sure that this doesn’t happen again.

    Hello,

    I have the same issue and i rolled back, so today i got an email from Klarna stating i have to update to the latest version or else theyll suspend the klarna from my web store in 48h if they havent received the update. So i updated to the latest Klarna checkout plugin and still receiving the same issue.

    {“error_code”:”READ_ONLY_ORDER”,”error_messages”:[“Resource is read-only”],”correlation_id”:”8e95a5c4-8fd8-40fd-ba6e-56130a5054c6″,”service_version”:”1.0.20200414071037″} Resource is read-only

    Any suggestion

    Thread Starter rostamx

    (@rostamx)

    @stivenson2005 I have the same error {“error_code”:”READ_ONLY_ORDER”,”error_messages”
    on 2.0.12

    You can use 1.11.8 for now.
    download it from wordpress (you can choose version you want to download on the bottom)

    • This reply was modified 4 years, 7 months ago by rostamx.
    Thread Starter rostamx

    (@rostamx)

    @krokedil @klarna

    When will this issue be fixed so we all can move over to version 2.x.xx
    some of us want to use the vipps integration available in version 2 ??

    Plugin Contributor Krokedil

    (@krokedil)

    @stivenson2005 and @rostamx

    From what i can tell from the sites i have debugged with this right now it seems like some form of custom thankyou page is being used. This custom page is not triggering the woocommerce action “woocommerce_thankyou”. This is the action that we use to clear sessions. The error you are getting is there because a customer still has the old Klarna id saved in its session, and when they load the page again they see the error from a completed checkout session.

    A new session is however created for them at this point, and they should still be able to place the order.

    I recomend that you make sure that whatever thankyou page you are using is running the action “woocommerce_thankyou”.

    <?php do_action( 'woocommerce_thankyou', $order->get_id() ); ?>

    The above code is what you need to include on the thankyou page if this is not present for you.

    You can see here in the WooCommerce repository an example of how WooCommerce triggers this action on their template.

    Thank you for the info. I will try to disable the Thank you page and see how it goes. Its true I am using a custom thank you page using a plugin ‘CartFlows’.

    The thank you page is using the the code you mentioned. Here is a snippet of the thank you page PHP where it uses the woocommerce_thankyou.

    <?php do_action( ‘woocommerce_thankyou_’ . $order->get_payment_method(), $order->get_id() ); ?>

    <?php do_action( ‘woocommerce_thankyou’, $order->get_id() ); ?>

    <?php else : ?>

    <p class=”woocommerce-notice woocommerce-notice–success woocommerce-thankyou-order-received”><?php echo apply_filters( ‘woocommerce_thankyou_order_received_text’, __( ‘Thank you. Your order has been received.’, ‘woocommerce’ ), null ); ?></p>

    <?php endif; ?>

    </div>

    • This reply was modified 4 years, 7 months ago by stivenson2005.
    Plugin Author Kristi at Klarna

    (@klarna)

    For cross-referencing, this topic also linked from: https://www.ads-software.com/support/topic/error_coderead_only_order

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘error code read only’ is closed to new replies.