Video: Accepting other payment methods

Early in the course I showed you how to accept payments through PayPal, because well, let's face it: that's pretty much the entry-level standard online. But if you plan to accept a lot of payments, or if what you're selling for some reason doesn't fit into any of PayPal's payment plans, then you'll need something heavier duty. This video introduces you to some of those payment methods, besides PayPal, and it goes through the full process with authorize.net, which is common in the U.S. First, let's take a look at what's available. To do so, go to drupalcommerce.org, and click Add-ons.

This course shows how to build an online store using Drupal Commerce, a set of modules that extend Drupal. Author Tom Geller teaches the basics of configuring a store, processing a payment, and charging for shipping and taxes, as well as creating, displaying, and categorizing products. The course also explains how to integrate a store into a Drupal site, customize a store's appearance, and increase site traffic using search engine optimization (SEO) techniques.

Accepting other payment methods

Early in the course I showed you how to accept payments through PayPal, becausewell, let's face it: that's pretty much the entry-level standard online.But if you plan to accept a lot of payments, or if what you're selling for somereason doesn't fit into any of PayPal's payment plans, then you'll needsomething heavier duty.This video introduces you to some of those payment methods, besides PayPal, and itgoes through the full process with authorize.net, which is common in the U.S.First, let's take a look at what's available.To do so, go to drupalcommerce.org, and click Add-ons.

Once there, you can sort it by Module Type.As you scroll down, you see that there are a lot of payment methods available:Adyen, Authorize.net, and so forth.We are going to use Authorize.net.As with all payment gateways, there are two parts to using it.First, you get the module, and install it.Second, you need to get authorization from the payment processor itself.Fortunately for us, Authorize.net gives out test accounts for us to play with.No money actually gets transferred.

It's just so that you can learn their system.I found it by searching on Google, for Authorize.net test account, and there itis; the first link right there.The same works for many other payment methods. For example, Moneris test account,or CyberSource test account. Very easy to find.I've already signed up for a test account,so now we're ready to go.All I have to do is grab the module, and install it. Go down here,it opens a new window, scroll down, and install in the usual way. We then enable it.

Like most commerce contributed modules, it's in the Commerce (Contrib) group.Enable it, scroll down, and save the configuration.Now we configure it, just as we did with the PayPal module back in the videoabout accepting PayPal payments.Go up to Configure store, and Payment methods, and then enable your Authorize.netpayment method this way. We confirm; yes.And the last step is to go back and edit it so that it has all of theinformation for your Authorize.net account.

Go down to Actions, and click edit.Scroll down, and here I will paste in some information that I got from my account.The next set of option is for Transaction Mode, and this takes a little bit of explanation.If you just got a developer account, as I did, you will want to do developer testaccount transactions.This has the lowest level of security, because no money is being transferred.There has never been any sort of authorization.If you've already signed up for Authorize.net, or whatever other paymentprocessor you're using, you will be using one of the live account buttons. Andof course, when you finally go online, and you want to actually receive the money,it'll be live transactions in a live account.

There some other settings, but we can just scroll down and save.That's pretty much it.Now let's see it in action by making a purchase.We go back to our front page, and we will put something in our cart, and gothrough the usual process.View the cart, there it is, checkout, scroll down, and fill out the usual information.Then when it comes time to review our order, we see there is an extraoption under payment.We could, of course, do our earlier payments, but let's go ahead with Credit card.

I am going to enter a standard void credit card number.It's a 4, followed by twelve 2s: 4222222222222.Expiration will be sometime in the future, and for Security code, we can putany three digit number. Then we continue.Success!Just with the PayPal payment, or any other payment method, you can look at theorder to get payment details.To do that, go up to View orders, and there it is; number 6.Let's go in and edit it.Click the Payment tab, and there you have it.

It gives you all of the information that went out to Authorize.net and cameback, including an ID.Now I want to remind you that the system I showed you here using a test accountdoesn't actually get you paid.For that, you have to go through quite a bit of paperwork with the paymentservice provider of your choice,so don't expect to set up your site today, and get paid tomorrow.Now, Authorize.net is one of only many, many payment processors, but there areothers for which there still isn't a module available.The only way to know whether your preferred payment method is available is tolook for it on drupalcommerce.org.

If it isn't, don't give up hope.Drupal Commerce is open-source software, which means that anybody could make itbetter, including you, or if you're not a programmer, you could pay someone tocreate the payment module that you need.The programming interface is very open, and well-documented.That makes it easier for developers to work with,so you might be surprised at just how reasonable the price is to get exactly thepayment module that you need.

Find answers to the most frequently asked questions about Create Your First Online Store with Drupal Commerce .

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Already a member ?

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships.
Learn more

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about lynda.com and our online training library:

new course releases

newsletter

general communications

special notices

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

new course releases

newsletter

general communications

special notices

Here’s our privacy policy with more details about how we handle your information.