Credit Card Information Form at Checkout

Posts: 37
Joined: 09/30/2007

I just finished upgrading to Beta 7.

My errors when I click review order at checkout, change to just telling me I don't have the credit card information.

====================================================
* You must select a shipping option before continuing.
* Enter the owner name as it appears on the card.
* You have entered an invalid CVV number.
* You have entered an invalid credit card number.

=============================================

The reason for the errors is that the form to enter credit card information does not open.
All I get is a continuos moving barber poll.

I do notice that even though the flat rate shipping gets changed, or the state tax gets changed by changing the amount on the order, or the state, earlier in the checkout windows, the payment window stays the same and doesn't get updated, the barber poll keeps churning, and no credit card form to fill out.

Suggestions?

Suggestions?

Posts: 37
Joined: 09/30/2007

Problem: The Credit Card fill-in blanks do not come up at checkout. All I get is the barber poll wait icon spinning.

Question: Does Ubercart have to complete the handshake with Authorize.net before the fill-in credit card form will come up?

I'm wondering if the problem is in the handshake or in Ubercart? Any insight is appreciated.

Thanks.

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

This has nothing to do w/ Auth.net, because it's a simple AJAX request - nothing special about it. If the order total preview is coming up, the payment details form should, too. Are you running the latest version of Ubercart?

Posts: 37
Joined: 09/30/2007

Hi Ryan,

Yes, I just updated to Beta 7. Everything went smoothly, and it cleaned up my previous problem, but I can't get my credit card form up in checkout. I'm confused about what ubercart checks on and where, so I don't know where to start looking.

Thanks

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I guess you really just need to get Firefox with Firebug and use it to monitor the POST requests being made when the checkout page is getting loaded. Also, you might try a refresh on the checkout page to be sure your browser has the latest JS.

Posts: 37
Joined: 09/30/2007

Did the browser refresh and cleared cache in Drupal. Never used Firebug, I'll give it a try. Is this all taking place in the uc_payment folder? i.e. uc_credit module, or uc_payment. I want to see where the test is made, and track back the variables.

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

All it consists of is an AHAH request that adds the results of a call to the function uc_payment_get_details() in uc_payment.module to the payment pane.

Posts: 37
Joined: 09/30/2007

Wow, Firebug is awesome. It immediately picked up up an exception that I probably would not have found any other way, to wit:
uncaught exception: Security Error: Content at https://www.refinedautomation.com/cart/checkout may not load data from http://www.refinedautomation.com/home?q=cart/checkout/payment_details/cr....

My checkout pane is in https secure page. So essentially, it will not let me load the credit input in the checkout panes. Is there a security setting that you know of that can fix this?

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I wonder if you can try adding that second path to your secure pages setup. Puzzled Other folks are using it, so I'm sure they can weigh in.

Posts: 2
Joined: 10/01/2007

Ryan,
I am trying help Dale out here and I am not seeing how to get that 2nd URL to register as https.
I have tried making the whole site https and it still isnt pulling in that 2nd url as https.

If you go to that url directly it resolves as /cart/ etc... but firebug is showing it as /home?q=cart etc...

any ideas? is there a page in the module I can pore over to see if i can correct it in the code itself?

Thanks,
Tony

Posts: 5245
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Weird... didn't notice the /home in there before. I'm not really sure what's going on here... have you tried adding home* to your secure pages list?

Posts: 1290
Joined: 08/14/2007
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.

That sounds like the solution. Here's our setup in Secure Pages for the shopping section:

cart/checkout
cart/checkout/review
cart/checkout/payment_details/*
cart/checkout/complete
uc_paypal/ipn/*
uc_paypal/wps/*
uc_paypal/wps/complete/*
cgi-bin/webscr

--

"Pain don't hurt." - Dalton

Mike Nelson's RiffTrax! www.rifftrax.com