Hi there, I've got a problem with the credit card info page. If I choose Canada, US or UK as a country, the province/state dropdown selections work fine. If I choose another country, the dropdown is populated properly, but upon submit it produces the error "select state." So, for some reason, the field is not being recognized correctly. I've tested this using states in Portugal and Australia with the same result. The select list is populated, but the state is not recognized upon submit. Any ideas?
1) Can you reproduce the issue on the demo server: http://demo.amember.com/signup.php 2) Are you using a fresh install or an upgrade? 3) Any modifications made to the install?
Hi Skippy, Thanks for the response. I'm not able to reproduce the issue on the demo server. It was a fresh install about 6 months ago. The only upgrade was for the security issue that was identified a couple of months ago. Yes, there've been some modifications, although I don't have a clear record of what was done. I thought they were all relatively minor. We also gave Anton access to perform a couple of fixes and also to develop a new plugin for Beanstream. We only permitted transactions from select countries initially, so this problem didn't reveal itself until we enabled more countries. I might be able to troubleshoot the problem myself, but I'm not able to figure out which dependent files might be involved. And for clarification, we're offering a free trial which doesn't require credit card info. So, this problem only occurs when the free trial ends and the customer chooses to "Add/Renew Subscription" from their member panel. So, the problem is on the credit card info page. Hopefully you can shed some light on where I should look for the problem. Thanks, Jade
My first thought would be to do a simple test of renaming your member page related files (amember\member.php & amember\templates\member.html) and putting the original files in place to see if the issue still happens. Also, you could add (as a test) a product for the signup page and see if the issue happens there.
Hi Guys, Thanks for the suggestions. I've compared my versions of all those files with the originals and they're actually identical. So, I've been looking into the Beanstream Remote plugin that Anton created and I think that might be where the problem is. When reviewing the code I noticed that the text/select switch for State has different field names. The textfield is name="state", while the select is name="ordProvince" (which is a Beanstream fieldname if I understand correctly). So anyway, I think that somehow the textfield is still be validated even though the switch triggered the dropdown selectfield for states. And that would explain why the state is the error that shows up when you submit. The error says "Select your state/province." Hopefully this extra info points to a solution. I appreciate your help so far. Thanks, Jade