To blog page

Hyvä Checkout & PayPal Integration

Table of contents

In the early days of e-commerce, customers were limited to traditional payment methods like cash on delivery or bank transfers. However, the rise of online payment systems has revolutionized how we shop and conduct business online. In this article, we will delve into the importance of payment systems for e-commerce and explore the case study of integrating PayPal with Hyvä Checkout, the next generation of checkout. Let’s also share how the process of Hyvä development takes place.

The importance of payment systems for e-commerce

One key factor behind the popularity of online payment systems is the growth of e-commerce. Online payment systems offer customers convenience and ensure a seamless payment process for businesses, which ultimately leads to increased sales and customer satisfaction.

There are many payment methods available today, and choosing and connecting certain methods for an online store is a complex and important process for any online business. To choose payment methods, it is necessary to analyze the potential client, his place of residence, the nuances of currency conversion, loyalty programs, and individual opportunities that payment systems offer to their users.

Additionally, a well-designed checkout system can help reduce cart abandonment, a common problem online retailers face. By offering a streamlined checkout process with saved payment information and one-click purchase options, businesses can significantly reduce the number of customers who abandon their cart without purchasing. This increases sales and improves customer retention rates, as customers are more likely to return to a website that offers a smooth and efficient checkout system.

Overview of Hyvä Checkout

Now, Hyvä Themes is gaining tremendous popularity. Its main advantage over Luma is that it greatly improves your website’s performance. One of the main Hyvä packages is Hyvä Checkout. This module is used to place orders. It is much faster, more convenient, and nicer to look at than the standard Magento Luma Checkout.

Hyvä Checkout is a next-generation system designed to streamline online payment. Built specifically for Magento, Hyvä Checkout offers a range of features that enhance the customer experience. With its sleek design and intuitive interface, Hyvä Checkout aims to reduce cart abandonment rates and improve conversion rates for e-commerce businesses.

Hyvä Checkout offers several advantages over traditional checkout systems. One of the critical features of Hyvä Checkout is its mobile responsiveness, ensuring that customers can quickly complete their purchases on any device. This is crucial in today’s mobile-driven world, where a seamless checkout experience can make all the difference in retaining customers and driving sales.

We are increasingly convinced that Hyvä Checkout can become the next generation of Checkout.

Hyvä Checkout

Furthermore, Hyvä Checkout offers customization options for businesses to tailor the checkout process to their specific needs. Its responsive design ensures a seamless and intuitive experience across different devices and screen sizes. Whether customers are shopping on their desktop computers or mobile devices, Hyvä Checkout adapts to provide a consistent and user-friendly interface.

Hyvä Checkout simplifies the checkout process by minimizing steps and reducing friction. By eliminating unnecessary form fields and streamlining the payment process, businesses can significantly reduce cart abandonment rates and increase conversion rates.

Hyvä Checkout & PayPal 

PayPal‘s popularity can be attributed to its ease of use and widespread recognition. It offers a seamless payment experience for customers, allowing them to make transactions with just a few clicks. Additionally, PayPal’s buyer protection policy gives customers peace of mind when purchasing online, increasing their trust in the e-commerce platform. This trust factor is crucial for businesses looking to establish long-term customer relationships.

By seamlessly integrating with PayPal, Hyvä Checkout provides businesses with a powerful tool to enhance customer satisfaction and drive growth.

Moreover, integrating PayPal with Hyvä Checkout opens up a world of possibilities for businesses in terms of international sales. It supports over 100 currencies and is available in over 200 markets, making it an ideal payment solution for companies looking to expand globally. This global reach increases the customer base and simplifies the checkout process for international buyers, as they can pay in their local currency without worrying about conversion rates.

PayPal Integration in Checkout

Integrating PayPal with Hyvä Checkout is a strategic move for e-commerce businesses to enhance customer experience, increase sales, and build trust with their audience. By tapping into PayPal’s secure payment infrastructure and global reach, companies can stay ahead in the competitive online marketplace.

PayPal Integration

PayPal is one of the most popular payment methods in the world. In the Magento (Adobe Commerce) system, it is included in the default assembly, which was an essential step for the fresh Hyvä Checkout’s success.

As an official Hyvä SILVER partner, we had the opportunity to integrate standard PayPal payment methods into Hyvä Checkout. We ended up with the following list of methods:

  • PayPal Express
  • Payflow Express
  • Payflow Express BML
  • Payflow Advanced
  • Payflow Link
  • Hosted Pro
  • Payflow Pro
  • PayflowPro CC vault
  • PayPal billing agreement

Next, we will consider each of the methods in more detail.

PayPal Express 

PayPal Express is the leading and most popular. When implementing this method, the task was to display payment buttons that show a pop-up window from the PayPal website for authorization and selection of payment methods.

PayPal Express
PayPal Express

The difficulty was that Hyvä removed the PayPal review page, so the review page was integrated directly into Hyvä Checkout when choosing payment methods.

PayPal review page

There is also an option to use a simple redirect instead of pop-ups:

PayPal pop-ups redirect

PayPal billing agreement 

PayPal billing agreement is a payment method that allows the user to pay using a saved conclusion if he has previously accepted an agreement for further use. When paying using PayPal Express, the user may be given the option to accept the agreement and save the billing agreement in the Customer account.

PayPal billing agreement

If the user agrees with it when paying again, he can make a payment without redirecting to PayPal, and the billing agreement will be displayed as a separate payment method.

PayPal billing agreement

Payflow Express and Payflow Express BML

When selecting these methods, the buyer will be redirected to the PayPal website to log in and choose a payment method in the last step. A redirect to Hyvä Checkout has been added when clicking the checkout button.

Payflow Express

A “Buy now, pay later” widget has also been displayed; when you click on it, you will see information about PayPal credit.

PayPal Buy now, pay later

These methods are used to pay by card in an iframe pulled from the PayPal website.

Payflow Advanced and Payflow Link

In the original checkout, the iframe was displayed directly under the method itself after the buyer clicked on the place an order button. This method is inconvenient and does not work correctly since the order will be placed in any case, even if the card details have yet to be entered. And the buyer will still be able to see other payment methods to choose from, even though the cart is empty.

To do this, it was decided to redirect to a separate page for entering card data when placing an order with this iframe.

Paypal Payflow redirect

Hosted Pro

Hosted Pro payment method used for certain countries such as UK, France or Spain.

Hosted Pro payment

The method’s implementation is similar to Payflow Advanced and Payflow Link, in which, at the last step of placing an order, a redirect is added to a separate page that has an Iframe with a form for entering card data, which is pulled from the PayPal website. However, the Hosted Pro payment method uses a different type of Ifram.

Hosted Pro payment

Payflow Pro

Payflow Pro is the most sophisticated payment method. Payment is made by card on the website. It was decided to add an “Authorize” button under the form for entering card data.

A request is sent to PayPal with the entered card information by clicking on it. After checking the data, PayPal responded that the card was valid. If so, the information is updated, and in place of the form for entering the card, the buyer’s card is displayed on the reverse side, which includes the last four digits of the card number, the date until which it is valid, and the payment system.

Payflow Pro PayPal card

The difficulty in implementing this method was that on the ordering page, after any change in the input field, a request is sent to the server, which is strictly prohibited for payment card data. We have made changes so that the real data that the buyer enters about his bank card is stored only on the client side.

Also, for this payment method, we have added Google Recaptcha: “I’m not a robot,” invisible recaptcha v2, and invisible recaptcha v3.

Payflow Pro PayPal

PayflowPro CC vault 

PayflowPro CC vault is a payment method using previously saved cards. To use this method, the buyer must use the site logged into his account. When a product is purchased for the first time or with a card that has not been used before, the user displays a checkbox under the card data entry form to save the card to his Customer account for further use when paying.

PayflowPro CC vault 

If the card data is saved, the user will receive a list of previously saved cards for the active account as a separate payment method when paying again.

PayflowPro CC vault PayPal

At the moment, all the payment methods described above are working and ready for use.

The PayPal module comes as a separate package, which can be installed via Composer:
composer require hyva-themes/magento2-hyva-checkout-paypal

Given the speed of Hyvä Themes and the payment methods we have implemented, Hyvä Checkout is now fast. It covers all the functionality customers expect when using a standard Magento build. This makes Hyvä Checkout an indispensable module that lives up to the expectations of anyone who encounters it.


In conclusion, payment systems are integral to the success of e-commerce businesses. The rise of online payment systems has revolutionized the way we shop and transact online, providing convenience and security for customers worldwide. Integrating PayPal with Hyvä Checkout offers a compelling case study for businesses looking to streamline their payment process and enhance the customer experience. By leveraging PayPal’s global reach and Hyvä Checkout’s innovative features, businesses can stay ahead in the competitive e-commerce landscape and drive growth for their brand. Contact us to learn more and discover Hyvä development.