How to test ubercart Paypal-sandbox environment method in a Drupal site - a tester's view ?
Suppose your Drupal projects handles products which can be purchased through online. And you are using Ubercart PayPal and Ubercart Payment modules to handle payments related to purchase. Either registerd or non registered user can buy the product. User can use paypal through two ways. "Can purchase through sandbox environment or Can purchase using credit card". So a tester can test the paypal functionality using both these ways. Here I am going to explain how can you test the purchasing functionality through Sandbox.
Please check the below steps which explains step to step process to test the paypal functionality.
- Open the site.
- Add a product to cart.
- Select transaction through paypal in the checkout page.
- This will open https://www.sandbox.paypal.com/.
- Click Pay with my PayPal account. Please refer the below image.
//login.jpg - Then log in the sandbox server using buyer account. This will be provided by the developer. Please refer the below image.
//login2.jpg - Click Continue. Please refer the below image.
//login3.jpg - This will again redirect to checkout page. Fill the details and again click continue checkout.
- Click on “Submit Order” button for completing the transaction.
- You will then see a page saying your transaction is complete and order number.
- You can click History in the sandbox server to see the orders. And can ensure that you order is completed.
//history.jpg
Hope you understand PayPal testing. Please note that here I specified only one method. Payment using credit card information is not specified here. And the steps may vary depending on the project.