Checkout Page Not Working Properly In V2

I'm having issues with the checkout page in V2. When a customer goes to checkout, if they try to select something other than the default payment method (e.g. switching from credit card to Paypal), I can see that an AJAX call is made to the server, and a successful response is received, but nothing on the page updates; the credit card fields are still there, and trying to continue on to the next step tells you those fields are required. There are no javascript errors in the console log either.



Additionally, trying to actually submit credit card info is resulting in failed payment; the response from Paypal's API (we use Paypal for credit card processing) says all the credit card fields are invalid. Both of these issues appeared at the same time, so I strongly suspect they are related.



The major change that took place recently is that we migrated host server type with our web hosting service (from a shared hosting account to a managed VPS), and everything worked fine on the old server, so I strongly suspect it's some issue with the new server configuration, but the general lack of errors I'm seeing is making it difficult to troubleshoot. The rest of the store functions just fine. Has anyone else experienced an issue like this, or have any idea on where to start digging for answers?

I'm no expert… is cURL enabled on your new server? It needs to be, although that wouldnt really explain the page not updating I dont think…

[quote name='Scott_C' timestamp='1395743968' post='180087']

I'm no expert… is cURL enabled on your new server? It needs to be, although that wouldnt really explain the page not updating I dont think…

[/quote]



How exactly would I verify that?

The issue has been resolved! Apparently I had the same issue as described in this thread: Payment Method required CCD info even if you select another payment type - Issues & Troubleshooting - CS-Cart Community Forums



The solution was to set [font=“Verdana, Arial, Helvetica”][size=“2”]php_value apc.enabled = off in the .htaccess file, since the APC caching is what was causing the issue. I'm waiting to hear back from CS Cart Support if the APC caching issue is resolved in v3 or v4 of CS Cart.[/size][/font]

Glad to hear. APC caching should work as a friend of mine is running it under CS Cart 4 with no trouble.