Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How would I test payment methods within magento 1.8.0.0.?

I was just wondering if anybody knows how to test magento's payment options.

I have got a few questions.

  1. Do I need to change any code within any of the pages?
  2. Do I need to make any changes to the admin settings ?
  3. Is there a simple setting to test these payment methods out?
  4. Is there only certain payment methods that you can actually check?
like image 442
user3021997 Avatar asked Nov 27 '13 11:11

user3021997


3 Answers

No you dont need to change any code. Its all handled from backend.

Generally for development purpose we use Cash on delivery or Check/Money Order payment method. So you just need to enable these method from backend.

For Testing Credit Cards enable 'Saved CC' Payment Method and during checkout use test credit card type VISA, card number 4111111111111111 with any date of future for Expiration Date and any cvv number

Additionally for proper payment gateway integration You will need to purchase payment gateway which will provide Magento Module along with it. This Payment Method will have 2 modes test and live that are configurable from banckend. So with test mode you can continue development and testing.

Similarly with Paypal. Yo can setup Sandbox test account. Module is already there.

like image 71
Deependra Singh Avatar answered Oct 06 '22 07:10

Deependra Singh


If you want to use Express Checkout:

  1. Go to developer.paypal.com and log in using your PayPal account (it doesn't matter if the acount is empty or not).
  2. Click on the menu item on the top dashboard and then select Accounts from the sidebar.
  3. There, you will find 2 test accounts already set for you. You can modify the existing acounts or create new ones.

This post may help you.

like image 29
lazy_coder Avatar answered Oct 06 '22 06:10

lazy_coder


Yes you can test on local host with setup sendbox account.

like image 30
Dharmesh Hariyani Avatar answered Oct 06 '22 08:10

Dharmesh Hariyani