Title: Klarna Functionality Questions
Last modified: May 12, 2020

---

# Klarna Functionality Questions

 *  Resolved [Cody109](https://wordpress.org/support/users/cody109/)
 * (@cody109)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/)
 * Hi,
 * I have several questions regarding the Klarna integraton with this plugin:
 * 1. How can payments be tested via Klarna? I have it in testdrive mode yet any
   card (real or provided by Stripe test cards) says it’s not valid).
    2. Right 
   now, you first have to check to pay with Klarna, then click the Klarna button.
   After this, then the Klarna credit card form appears. Is it possible to have 
   this simply show have the option to pay with Klarna is selected? 3. Is it possible
   to change the text of the Klarna button (the place order button is replaced with
   a button that just says Klarna)? 4. Is it possible to display the option to pay
   via Klarna directly on a product page?
 * This is great plugin! I appreciate any help you can provide!

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

 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12824082)
 * Hi [@cody109](https://wordpress.org/support/users/cody109/),
 * Thanks for contacting us. Here are answers to your questions in the order they
   were asked:
 * 1. [Here](https://stripe.com/docs/sources/klarna#testing-klarna-payments) is 
   a direct link to the Stripe Klarna testing page. If you scroll toward the bottom
   of the section you will see an IBAN and credit card you can test with. You must
   have the plugin set to **Test** mode in order to test Klarna.
 * 2. Klarna is a complex payment option that provides different payment methods
   based on things like the currency and customer’s billing country. Because of 
   this, we wait to render the Klarna payment options once the customer clicks the
   Klarna button. That ensures the cart has the most up to date billing country,
   currency, etc. This also cuts down on repeated API calls that slow performance.
   By waiting until the end, we make a single API call that has all the proper information.
 * 3. I may not understand your question because the current behavior does this.
   When a customer selects Klarna, the place order’s text is updated with a translatable
   string that says Klarna. Are you talking about another button, similar to like
   what happens when GPay or Apple Pay is selected?
 * 4. This is not possible at this time because Klarna does not export the customer’s
   billing (and shipping if it’s a shippable product). The reason payment methods
   like GPay and Apple Pay can be offered on product pages is because the customer’s
   billing and shipping info is exported from the wallet and can then be used to
   fill out the order details.
 * Thank you for the kind words, we always appreciate a nice review. Here is a link
   to our review page if you have a moment. [Review page](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)
 * Kind Regards,
 *  Thread Starter [Cody109](https://wordpress.org/support/users/cody109/)
 * (@cody109)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12829159)
 * Thank you for your detailed response! This is very helpful. I have just two more:
 * Regarding point 3, what I mean by this is the button just says “Klarna”. I think
   it would make more sense to say something like “Pay with Klarna” or “Pay via 
   Klarna”. So I was wondering if there was a way to change that button text.
 * My other question, is there a way to accept monthly payments via Klarna? Or is
   the default just to pay after 30 days?
 * For example, Klarna can do financing of payments over four months. Is this possible
   to setup through this plugin?
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12829208)
 * [@cody109](https://wordpress.org/support/users/cody109/),
 * The order button text is assigned in the constructor of the payment gateway. 
   There are several ways you can change that text programatically. You could hook
   in to an action that is triggered during the rendering of the checkout page (
   before the `checkout/payment.php` template and change the text that way.
 * Example:
 *     ```
       function update_klarna_text(){
           WC()->payment_gateways()->payment_gateways()['stripe_klarna']->order_button_text = 
           __('Pay With Klarna', 'your-domain');
       }
       add_action('woocommerce_review_order_before_cart_contents', 'update_klarna_text');
       ```
   
 * Or you could load a JS script that changes the order button text.
 *     ```
       (function($){
           $('#payment_method_stripe_klarna').data('order_button_text', 'Pay with Klarna');
       })(jQuery)
       ```
   
 * These are just example, please test any code before using.
 * Kind Regards,
    -  This reply was modified 6 years, 1 month ago by [Clayton R](https://wordpress.org/support/users/mrclayton/).
 *  Thread Starter [Cody109](https://wordpress.org/support/users/cody109/)
 * (@cody109)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12829460)
 * Thanks for this! Do you know about my other question?
 * “My other question, is there a way to accept monthly payments via Klarna? Or 
   is the default just to pay after 30 days?
 * For example, Klarna can do financing of payments over four months. Is this possible
   to setup through this plugin?”
 *  Plugin Author [Clayton R](https://wordpress.org/support/users/mrclayton/)
 * (@mrclayton)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12829542)
 * [@cody109](https://wordpress.org/support/users/cody109/)
 * To my knowledge Klarna supports pay now, pay in 30 days, or split payments.
 * The plug-in supports those three options. I suggest looking through Klarna documentation
   to see if there are other payment options but stripe supports the three methods
   that I listed.
 * At this time it’s not possible to setup financing over a 4 month period.
 * Kind regards,
 *  Thread Starter [Cody109](https://wordpress.org/support/users/cody109/)
 * (@cody109)
 * [6 years ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12841446)
 * Okay, thanks for all of the help!!

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

The topic ‘Klarna Functionality Questions’ is closed to new replies.

 * ![](https://ps.w.org/woo-stripe-payment/assets/icon-256x256.png?rev=2611337)
 * [Payment Plugins for Stripe WooCommerce](https://wordpress.org/plugins/woo-stripe-payment/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-stripe-payment/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-stripe-payment/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-stripe-payment/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-stripe-payment/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-stripe-payment/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Cody109](https://wordpress.org/support/users/cody109/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/klarna-functionality-questions/#post-12841446)
 * Status: resolved