13 replies [Last post]
shifthappens's picture
Offline
Joined: 01/27/2009
Juice: 13

The credit card fields (card number, expiration date, CVV) do not display on the checkout page if 'credit card' is the only possible payment method.

I believe these fields normally get displayed based on an AJAX/JQuery call when the credit card radio box item is selected by the site visitor. If credit card is the only payment method, the radio box is preselected --- so the site visitor never has to select the credit card as a payment method, and as a result the credit card fields never get displayed.

Am I missing something very basic? I hope so. Otherwise, this appears to be a bug.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15422
Re: Checkout page - credit card fields do not show if the only

Hmm... it should actually display the payment details for whatever the default payment method is automatically. I've setup sites before that used just credit card payment and it displayed the fields just fine. You should start by checking for any JS errors on the checkout form page that would cause it not to auto-populate with the CC fields.

shifthappens's picture
Offline
Joined: 01/27/2009
Juice: 13
You nailed it!

Ryan,

Thanks for leading me in the right direction. I discovered that my jQuery Update module needed to be updated from version 1.0 to 2.0.

That fixed it.

UberCart Rocks!

herchenx's picture
Offline
Joined: 12/09/2008
Juice: 37
Only Super Admin has Payment Methods

We have ubercart up and running and it has been for several weeks. We got a call yesterday that users can't enter any credit card info.

When I log in as the Super User (initial administrator account) I can put in credit card info under Payment Methods and checkout (card is charged etc.).

No other users can do this though. The area within the Payment Methods Pane is just blank after the initial text.

It looks like it should be a permission issue, but we have gone as far as enabling all permissions for all users for any modules related to the store, checkout or payments and it doesn't change anything.

We tested this initially and were able to check out using a non-administrative accounts, but something is causing trouble. In the source the whole div is missing for non-super users.

I wondered if the version of jQuery was causing the problem, since it is my understanding that this area is populated by Ajax, but there are no error messages in my javascript console. After updating to the most recent jQuery Update the problem remains.

If anyone has any idea, I would appreciate any guidance.

herchenx's picture
Offline
Joined: 12/09/2008
Juice: 37
SOLVED (for us)

Apparently we had a recurring fee item in the cart, and credit cards were not checked under recurring fees.

We didn't have a "messages" region in our theme so the error wasn't showing up on the page.

ID Ten T error.

romamark78's picture
Offline
Joined: 05/26/2009
Juice: 7
the same credit card issue!

I have seen a few posts that were somewhat like the issue I'm experiencing, but not exactly...
when we go to the checkout on my site there are a few possible problems. if, in my config, i have credit cards set as my only possible payment option, then the radio button next to the credit card graphic is greyed out, and there's nowhere to enter in the credit card number, expiration date, or ccv.

if i configure to also accept Paypal as a payment option, then there is the credit card graphic and the paypal graphic. both radio buttons are selectable, and if you select paypal, and then REselect the credit card option, suddenly the window to allow entry of credit card data is visible.

Does anyone know what is causing this issue, or where there's a similar forum post with an answer to this issue?

thanks in advance for all your help, Ubercart community!

paddlepro's picture
Offline
Joined: 06/09/2009
Juice: 2
Are you using secure pages?

I was experiencing exactly what you described but it only started after I installed the secure_pages module. I used firebug for firefox to figure out that the ajax request for the CC info div wasn't responding 1/2 the time. I went into secure pages and added "cart/checkout/payment_details/*" to the ignore pages since that was the URL that was being flaky. Now it works fine. However I don't know for sure if that opened up any security holes

Hope that helps.

dbthorburn's picture
Offline
Joined: 08/26/2009
Juice: 6
Also fixed using this method

I was having exactly the same issues described on this page.

Only after I added "cart/checkout/payment_details/*" to the list of ignored pages for Secure Pages would it work in all browsers.

Thanks paddle.

jazzdrive3's picture
Offline
Joined: 03/29/2009
Juice: 221
Quote: Only after I added
Quote:

Only after I added "cart/checkout/payment_details/*" to the list of ignored pages for Secure Pages would it work in all browsers.

So does this open a security hole? I'm having the same problem and this was the only thing that fixed it.

royerd's picture
Offline
Joined: 01/22/2008
Juice: 293
Re: Quote: Only after I added

Well, same here. Adding the cart/checkout/payment_details/* to the ignore list fixed things as it has for others. But like others, I now wonder if the info in that form is still secure as it is passed over the net etc.

Without this, the credit-card only option just churns and never displays the fields.

Does anyone out there know?

UPDATE: It works just as well to add that line to the "make secure" list as it does the 'ignore" list so I guess that solves the security question. Add that path to the make secure list: *cart/checkout/payment_details/*

Dan

bmoreinis's picture
Offline
Joined: 02/01/2008
Juice: 29
Can only enter credit card info on second pass

Our problem is that when first visiting cart/checkout one sees the "animated barber pole" in place of the ability to enter credit card information. However, if we were to enter ONLY THE STATE, then click "review order" we can now enter the credit card information.

Someone "wants to know what state and country we're from" before it lets us enter credit card numbers. Is that someone Authorize.net (our gateway, currently on fire) or is it Ubercart?

bmoreinis's picture
Offline
Joined: 02/01/2008
Juice: 29
Duplicate - fixed now - Global Redirect // Secure Pages

Duplicate - fixed now - Global Redirect // Secure Pages

http://www.ubercart.org/forum/support/9821/security_error_ssl_checkout_page

csdesignco's picture
Offline
Joined: 02/10/2010
Juice: 229
Re: Checkout page - credit card fields do not show if the only

Same problem here. The only field on the checkout page under Payment Method is:

() Credit card: [visa, mc, discover, amex logos]

There are no form fields or anything in this spot. All other forms on this page, such as billing and shipping info, display fine.

I do not currently have HTTPS enabled as this is a test server and we don't have an SSL purchased for it yet. Is this causing it? If so I see no errors anywhere in regard to it.

csdesignco's picture
Offline
Joined: 02/10/2010
Juice: 229
Re: Re: Checkout page - credit card fields do not show if the o

I didn't realize that the Credit Card fields are displayed dynamically (using Javascript). I temporarily disabled some Javascript in my header that runs a small slideshow on the side of the site and the CC fields appeared. Problem fixed.

Now, however, I have no shipping options on the checkout page...