views:

514

answers:

5

Right now I am able to test credit card functionality on development server using test/dummy credit cards. But not able to test the same functionality on live server. Are there any dummy credit cards, with which we can test the same on live site?

A: 

Show me the code that is not working.

leppie
While strictly not code-related, I think this is a good question. I've run into the issue myself.
Cide
@leppie - I can see these questions are getting to you :-)
Brian Agnew
@Cide: well friggen ask paypal, every online payment company will give you test cards. You just need to ask.
leppie
@leppie - This should be a comment. Also, the paypal docs are shocking.
Draemon
@leppie - I'm no longer in need of this, but like Draemon said; the paypal docs aren't easy to browse nor are they consolidated. Regardless, questions which boil down to a [simple] search can be found all over the place 8-).
Cide
A: 

AFAIK Paypal don't allow live testing.

Draemon
A: 

Previously I tested by buying low cost items from myself - that way you're only paying commission and you're getting most of the moneyback.

Admittedly you need 2 Paypal accounts, but that shouldn't be a problem, and you should only have to 'kick the tyres' in the live environment because all your testing will have been done in the dev environment.

Hooloovoo
+2  A: 

Either test it in PayPal's sandbox, or use two accounts with Micro-payments of $0.05, etc.

Jonathan Sampson
A: 

Why not use a real credit card, then give yourself a refund? The commision fee is returned in that case.