Esto Hirepurchase
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.
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.
Magento version - 2.4.4
ScandiPWA version - 6.0.3
Extension (Esto/HirePurchase) version - 1.0.12
Configuration is done in the admin panel under Stores->Configuration->SALES->Payment Methods
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 configuration is done under the Esto Hire Purchase section.
Esto Hire Purchase configuration is done under Esto Hire Purchase section.
You can specify:
EstoX (Esto3) configuration is done under EstoX Settings section.
You can specify:
Esto Pay Later configuration is done under Esto Pay Later Settings section.
You can specify:
Esto pay in the bank configuration is done under Esto Pay Settings section.
You can specify:
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.
The extension is compatible with other extensions and payment methods.
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
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.
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.
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 |