RSS RSS feed | Atom Atom feed

How do I get a test Credit Card number for use in the Sandbox? (WPS)

When testing your PayPal buttons in the Sandbox you will need to generate a test Credit Card number.

  • Log in to your Sandbox Account
  • Select a text account and login to that test account (create one if you do not have one)
  • Click 'Profile'
  • Click on 'Credit/Debit Cards' under Financial Information
  • Click the ''Add a Card' button, as if you are adding a credit card to this account
  • Use the credit card number that is automatically generated here as a test credit card number
  • Click "Cancel"

Note: Do not click on the 'Add Card' button as this will add the credit card to your Sandbox account. If it is added to your Sandbox account, it cannot be used to make a non-PayPal account payment.

For the CVV2 or CSC code, use any three digits like '123' and the expiration date would be any date that is in the future.

Tags :

How do I replace the image button with a text button?

The PayPal button generator creates a button with an image downloaded from the PayPal system.  There may be times you do not want this image button.  If so locate the code that is similar to the following:

<input type="image"
 src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif"
 border="0" name="submit"
 alt="Make payments with PayPal - it's fast, free and secure!">

And replace it with this line.  You can use your own text in place of the YourTextHere.

<input type="submit" value="YourTextHere">

 

Tags :