lyra / plugin-magento

An open source plugin that links Magento based e-commerce websites to PayZen secure payment gateway developed by Lyra Network.
https://lyra.com/fr/guides/magento/
Open Software License 3.0
10 stars 12 forks source link

Iframe integration #13

Closed AurelienLavorel closed 4 years ago

AurelienLavorel commented 4 years ago

Configure "Bank data acquisition mode" to "Payment page integrated to checkout process (iframe mode)".

Add an item to the cart, go to the checkout, select Payzen payment method.

Clic "Pay with Payzen", iframe is loading. If you forgot an item to your cart and stop here (eg, go to the homepage), the cart items are lost.

We should have the same behavior than in redirect mode: get the cart back.

nabil509 commented 4 years ago

Hi,

This is not an issue. It's the "normal" working of Magento. It is done to avoid inconsistency between paid amount and order amount. Otherwise, buyer can add new items to cart, returns forward to payment page (with browser Next button) and pays the initial amount. This is a common issue with other e-commerce systems.

AurelienLavorel commented 4 years ago

Work as expected with REST WS