Okay
  Public Ticket #2870293
WooCommerce and Klarna Checkout
Closed

Comments

  • Pontus started the conversation

    Hi,

    I am trying to integrate Amelia with the WooCommerce payment gateway Klarna Checkout (https://wordpress.org/plugins/klarna-checkout-for-woocommerce/).

    Everything works right up until the point where the customer supplies data to Klarna through an IFrame form (see attached image). After data is entered, the Klarna API responds with a 200 (according to Klarna logs), but neither the Amelia booking nor the WC order will be completed and there will be no redirect to the confirmation page. The spinner over the cart summary to the left in the attached picture will spin until the WP server throws a 500 a while later.  

    With my current WC / Amelia configurations, appointment scheduling and payment can be completed successfully with other WC payment options in test mode. Also, if I deactivate the "WooCommerce Service" in the Amelia settings, orders for non Amelia test products can be paid for successfully using Klarna Checkout. But as soon as WC is set as a payment option for Amelia, the checkout breaks for all test products as well.
     
    There seems to be some sort of conflict happening when both Amelia and the Klarna Checkout plugin are talking to WC at the same time.

    Any ideas on how to fix this?

  • [deleted] replied

    Hi, Pontus,

    Thank you for choosing Amelia.

    We had a bug related to the Klarna payment before but it was supposed to be resolved in the most recent update.

    Could you please make sure that you updated Amelia to version 4.1 and cleared the site cache after that?

    If that doesn't help, please provide us with a temporary WP Admin login for further investigation. You can post credentials as a private reply under this ticket. 

    Best Regards. 

  •   Pontus replied privately
  •   [deleted] replied privately
  •   Pontus replied privately
  •   [deleted] replied privately