How To Use Test Gateway?

Project:Ubercart Contributions
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description
Project: 
Ubercart

Is there any documentation for the Test Payment Gateway which describes how it's used? For example, is there a fake CC# and CVV# which allows seeing if the transaction works end-to-end without a charge actually taking place?

Version: 
beta7
Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: How To Use Test Gateway?

No real documentation... just install it and go to the payment settings form and make sure the default gateway for the Credit Card method is the Test Gateway. Then any time you would process a CC, it will return a passed transaction. It doesn't actually interface w/ any payment system, though.

For test CC number, I always use 4111111111111111 as it passes the CC number validation.

christefano's picture
Offline
Joined: 05/29/2008
Juice: 4
Re: How To Use Test Gateway?
Assigned to:Ryan» christefano

This information really should be in the documentation. I don't understand how this issue has been marked as fixed.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: How To Use Test Gateway?
Assigned to:christefano» Ryan

Finally got around to posting a tutorial on this:

http://www.ubercart.org/docs/user/7104/accepting_credit_card_payments

christefano's picture
Offline
Joined: 05/29/2008
Juice: 4
excellent!
Assigned to:Ryan» christefano

Thanks, Ryan!

Jay
Jay's picture
Offline
Joined: 11/03/2009
Juice: 7
Still Getting an Error
Assigned to:christefano» Jay

Hey, I went through this tutorial for accepting CC payments http://www.ubercart.org/docs/user/7104/accepting_credit_card_payments
I enabled "Test Gateway" and set the credit card to debug mode just so I could test it. I then logged out as admin, and logged in as a regular user, and proceeded to order a product. It tells me:

"Checkout cannot be completed without any payment methods enabled. Please contact an administrator to resolve the issue."

What gives?

---Turns out I had to make a /keys folder. Should I have to do that when I'm just working in debug mode?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Still Getting an Error
Assigned to:Jay» Ryan

Yeah, I did it that way b/c most everyone working in debug mode will be switching to live transactions sooner or later and it means we don't have to rewrite the checkout process to handle encrypted vs. unencrypted data.

foolofatook's picture
Offline
Joined: 06/14/2010
Juice: 29
#7
Assigned to:Ryan» Guest

I know this is an older posting here, but I'll try all the same...

I have been trying to figure out why, as I'm testing my ubercart install, that the full credit card number is not appearing. I am using credit card debug mode. Also, I've made several posts on ubercarts site here and on drupal's forums trying to figure out this issue.

the ubercart post I made: http://www.ubercart.org/forum/support/17013/ubercart_view_cc_details

the drupal.org post I made: http://drupal.org/node/825252

As per the link previously posted by ryan, about the tutorial,
http://www.ubercart.org/docs/user/7104/accepting_credit_card_payments

The last image on the page shows the full credit card number. When I look at this page on my drupal/ubercart install, it shows the truncated credit card details as "(Last 4) 1111".
As does the previous page when you click on "view card details" (right above the process card button).

I can't figure out why, even when I'm operating in cc debug mode, that I can't see the full number. I am trying to get the full 12 digits to show up when you click on the "view card details link" because my company uses a system called Synchronics (or Counterpoint as it's also known) to process payments, and all I need my site to do is to display the cc details so an admin can enter them manually into our payment system.

Any prod in the right direction would be most appreciated!

foolofatook's picture
Offline
Joined: 06/14/2010
Juice: 29
#8

Found out the solution. Heres the post I placed it in: http://www.ubercart.org/forum/support/17013/ubercart_view_cc_details#comment-53664

Maybe it will help those that were in my particular shoes with this problem.

kenjil's picture
Offline
Joined: 04/29/2010
Juice: 10
#9

Hi,

I have problem using test gateway.
Whenever I try to submit a test payment, I'm sent back to /cart as if nothing happened.
I'm using a correct CC number (ie different from 0000000000000000). What's wrong ?
I thought that test gateway was here to simulate checkout or failed checkout.
This is important because I'm trying to fix some conditionnal actions that are triggered when
checkout is complete.

Thanks for your help !

Kenji

lol
lol's picture
Offline
Joined: 11/06/2010
Juice: 3
#10

Has test gateway been removed from the module? It wasnt in my download and I cant find it anywhere?