Home arrow Ruby-on-Rails arrow Page 2 - Online Order Processing: Using PayPal
RUBY-ON-RAILS

Online Order Processing: Using PayPal


In this third part of a five-part series on building the checkout and order processing components of an ecommerce website with Ruby-on-Rails, we'll focus on integrating PayPal into the application's capabilities. This article is excerpted from chapter nine of the book Practical Rails Projects, written by Eldon Alameda (Apress; ISBN: 1590597818).

Author Info:
By: Apress Publishing
Rating: 5 stars5 stars5 stars5 stars5 stars / 7
July 15, 2010
TABLE OF CONTENTS:
  1. · Online Order Processing: Using PayPal
  2. · Creating a Dummy Bank Account and Credit Card
  3. · Creating API Credentials
  4. · Setting Up PayPal Transactions

print this article
SEARCH DEVARTICLES

Online Order Processing: Using PayPal - Creating a Dummy Bank Account and Credit Card
(Page 2 of 4 )

The Sandbox is a safe testing environment and replica of the production PayPal environment. We’ll use it to create a business account and a dummy credit card for our tests.

From the PayPal Developer Center homepage, click the Sandbox link to open the PayPal Sandbox page. Click the Create Account link and select Business Account. To create the business account, follow the suggested steps. Remember to write down the credit card information, because you’ll need it later.

Once you have created the test account, you should see it listed on the Sandbox page, as shown in Figure 9-6.


Figure 9-6.  The PayPal Sandbox page displaying the test account

Continue by clicking the Launch Sandbox button beneath the Test Accounts listing. This opens the Sandbox login page. Log in, and you should see the business account, as shown in Figure 9-7.


Figure 9-7.  The business account displayed in the PayPal Sandbox

Here, you can see that the status of the account is verified. In the example in Figure 9-7, we have already made some test transactions, which is why the account balance is $30,536,45.


blog comments powered by Disqus
RUBY-ON-RAILS ARTICLES

- Ruby-on-Rails Faces Second Security Flaw in ...
- Ruby 2.0 Prepped for February 2013 Release
- Why LinkedIn Switched from Ruby on Rails
- Adding Style with Action Pack
- Handling HTML in Templates with Action Pack
- Filters, Controllers and Helpers in Action P...
- Action Pack and Controller Filters
- Action Pack Categories and Events
- Logging Out, Events and Templates with Actio...
- Action Pack Sessions and Architecture
- More on Action Pack Partial Templates
- Action Pack Partial Templates
- Displaying Error Messages with the Action Pa...
- Action Pack Request Parameters
- Creating an Action Pack Registration Form

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 
Support 

Developer Shed Affiliates

 




© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials