State field not populating on Hosted Payment Page

When I redirect customers to the Hosted Payment Page, I pass in full address details. All of the values populate in the associated boxes with the exception of the State/Province dropdown, which stays empty.

Looking at the source, there's a hidden input called subscription-ccState, followed by the select element....

<input type="text" name="subscription[ccState]" id="subscription-ccState" value="NJ" class="text ccState required" />               
<select name="subscription[ccStateUS]" id="subscription-ccStateUS" class="select hide ccState">
. . .

In this example, I passed ccState=NJ to the URL, so the hidden field is correct, the associated select just doesn't display the proper value.

  1. Hi Frank -- Thanks for reporting this and the detail. The Canadian and US states select is a relatively new feature that broke pre-populating the state. We've just released a fix. Let us know if you have any further trouble.

  2. Sorry, I'm still seeing the same behavior.

  3. Can you give me a link? Could it be cached in your browser? It was a javascript change...

  4. Cleared cache, tried several browsers, and several different computers to make sure.

    Here's a test link:

    https://windchime-dev.chargevault.com/update?method=cc&amp;key=b610...

  5. Thanks Frank -- Sorry for the hassle. It had only been fixed on the create page. It's fixed on update now, too.

  6. There we go!

    Sorry, the difference between the create and update versions didn't even dawn on me.

  7. No prob. It's an architecture flaw of our own that the mechanism for prepopulating the fields is different for each. Thanks again for the report.

  8. Marc Guyer closed this discussion on 14 Feb, 2013 06:44 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions