recurly / recurly-js

Simple subscription billing in the browser
https://js.recurly.com/
MIT License
645 stars 138 forks source link

Recalculating VAT after validation failures sets totals to 0 #27

Closed tekin closed 12 years ago

tekin commented 12 years ago

To reproduce:

  1. Render subscription form with EU country pre-filled as billing country
  2. Submit form with required fields missing, which results in validation errors
  3. Change the country to another EU country and fill in VAT number

This correctly results in the VAT amount disappearing at the top of the form, but instead of the order total being re-calculated correctly, both the amount for the plan and the order total are set to $0.00.

Our subscription form is not live yet so I cannot supply a link.

tekin commented 12 years ago

I've recorded a video demonstrating the problem: http://tekin.co.uk/stuff/recurly.m4v