Embedded checkout applies coupon amount from a previously viewed plan (shows €0.00 total)

Status: Awaiting reply · Asked by David Jiménez on · 0 views

David Jiménez — Question ·

Hello,

We use Pabbly Subscription Billing with the embedded checkout on our website, and we have found an intermittent problem with coupon calculation.

Setup

Steps to reproduce

  1. Open the Business monthly page. The checkout correctly shows €198.00 with a coupon discount of -€99.
  2. In the same browser session, open the Basic monthly page.

Expected: Subtotal €98.00, discount -€49, VAT €10.29, total €59.29.

Actual (intermittent): Subtotal €98.00, discount -€99, VAT -€0.21, total €0.00.

The discount amount is carried over from the previously viewed plan (50% of €198), even though the iframe URL requests the Basic plan. Reloading the page usually corrects it. We have seen it both in our own tests and in a real browser session.

Questions

  1. Can you fix the coupon calculation so it always uses the plan currently selected in the checkout?

Thanks.

Back to all forum threads · Log in to reply