Esto Hirepurchase

As low as $399.00
Available
Only %1 left
SKU
esto-hirepurchase
Esto Hirepurchase compatibility for ScandiPWA

DISCLAIMER

This extension provides compatibility with a third-party extension. The third-party extension is required for this extension to work.

Download the required third-party extension here.

Esto HirePurchase

Magento version - 2.4.4

ScandiPWA version - 6.0.3

Extension (Esto/HirePurchase) version - 1.0.12

Features

Supported features:

  • Monthly payment displayment block on PDP
  • EstoX (Esto3)
  • Esto Hire Purchase
  • Esto Pay Later
  • Esto pay in the bank

Unsupported features:

  • Esto credit card payment

Configuration

Configuration is done in the admin panel under Stores->Configuration->SALES->Payment Methods 


Basic configuration

Esto hire purchase provides a chance to use Test mode or Live mode.

API keys are configured under the Esto Hire Purchase section. You will need to enable Esto Hire Purchase in order to add these keys.

It is possible to add different endpoints for Estonia, Lithuania, and Latvia.

New order status can be changed under the Esto Hire Purchase section.

Landing URLs after redirecting from esto site can be changed under the Esto Hire Purchase section.

For each payment method, it is possible to change the title and description of the payment.

For each payment method, it is possible to enable the Terms/Conditions checkbox, specify the Text for Terms/Conditions checkbox and add Popup text for Terms/Conditions.

For each payment method, it is possible to retain a shopping cart.

Monthly payment displayment block on PDP configuration

Monthly payment displayment configuration is done under the Esto Hire Purchase section.

  • Monthly payment displayment block can be enabled or disabled.
  • You can specify Monthly Payment Block Url.
  • You can specify Monthly Payment Block Title.
  • You can specify Monthly Payment Block Logo.

Esto Hire Purchase configuration

Esto Hire Purchase configuration is done under Esto Hire Purchase section.

You can specify:

  • Minimum Order Total.
  • Maximum Order Total.

EstoX (Esto3) configuration

EstoX (Esto3) configuration is done under EstoX Settings section.

You can specify:

  • Minimum Order Total.
  • Maximum Order Total.
  • Enable monthly payment block in checkout.

Esto Pay Later configuration

Esto Pay Later configuration is done under Esto Pay Later Settings section.

You can specify:

  • Minimum Order Total.
  • Maximum Order Total.

Esto pay in the bank configuration

Esto pay in the bank configuration is done under Esto Pay Settings section.

You can specify:

  • Minimum Order Total.
  • Show banklinks block.
  • Banklinks columns count
  • Payment from Specific Countries

In order to show banks you must run cron job update_esto_pay_banks , which will generate all the available banks in the database table esto_country_banks table.

Compatibility

The extension is compatible with other extensions and payment methods.

Development

General implementation

Esto hirepurchase uses such general implementation:

For Payment methods, EstoPayments component is used.

For the monthly payment block on PDP EstoMonthlyPayment component is used.

Esto hirepurchase adds 3 new queries - EstoConfig.query, EstoMonthlyPayment.query, GetRequestUrl.query

Implementation for payment methods

For esto payments configuration context is used to provide configuration values to EstoPayment.component.

If for specific esto payment method terms are enabled complete order is only available when terms are agreed upon

( checkbox checked), otherwise, complete order is available if terms are not enabled on specific esto payment method. For esto pay in the bank, previous rules apply the same way, but additionally, complete order is only possible when a specific bank is selected.

Each of esto payments after placing an order uses Route/Checkout/Container default placing order logic. Still, it implements additional logic, where after placing an order, the getRedirectUrl query is used (with OrderID value as argument) to get the redirect URL to the Esto site, therefore after placing the order user is redirected to the Esto payment site. Esto pay in bank implements an additional setPaymentMethodOnCart input argument such as payment_method_key which is bank_id.

After finishing payment on the Esto side user gets redirected back to the merchant site, this extension overrides the original EstoHirepurchase Controller Ipn for successful redirect in order to be able to redirect the user to /checkout/success?estoOrderId= for SPWA compatibility.

The extension also implements its own( modified ) ConfigProvider in order to make it compatible with graphql.

Implementation for monthly payment displayment block

The product id is used to fetch the details for the monthly payment badge that gets rendered in the PDP. The value for the title is checked before rendering the badge and if it's unavailable or empty the whole badge will not render. If the "Monthly Payment" Block Url was specified in the admin panel redirect URL value will be available and each of the title and image will be wrapped in an anchor tag.

More Information

More Information
Product Name Esto Hirepurchase
Short Description
Esto Hirepurchase compatibility for ScandiPWA
Base /f/r/frame_147.png
Small /f/r/frame_147.png
Swatch no_selection

Reviews

Write Your Own Review
You're reviewing:Esto Hirepurchase
Copyright © 2013-present Magento, Inc. All rights reserved.