Drupal Storefront Payment Configuration
After configuring your Drupal site storefront you have to make decisions about getting paid. You have a number of options for third-party merchant services you can use to handle the credit card transactions on your site.
You will need to activate the modules that allow interaction with these sites and let you accept payment. Instruction is focused on Google Checkout specifically, but other companies operate in a similar fashion. First you have to enable the Payment module, and then set up — and use — a Google Checkout account.
Before you can accept credit cards, you need to
Make sure your site is hosted on a secure server, which protects the credit card information your users enter on an order form.
Activate additional modules.
Sign up for an account with a company that can process your credit card orders for you, such as PayPal or Google.
To give you an idea of the process involved in setting up one of these accounts, the example walks you through setting up a Google Checkout account. Unfortunately, sites and processes change all the time, so your best bet is to visit the site and read the documentation for the correct processes to follow.
Choosing a credit card service
Before adding the modules to accept payment, you should create an account with the service you intend to use. Some of your options are
All these services take a small fee for each transaction they process. Check with the specific company for details.
Setting up Ubercart to accept credit card payments
When you've chosen a company to work with to process your transactions, you need to enable the correct modules and set your site to process payments with that merchant. To set Ubercart to accept payment, follow these steps:
Click Modules on the Dashboard menu bar.
Under the Ubercart – Core (optional) section, select the Payment check box.
Under the Ubercart – Payment section, select the Google Checkout check box (or select the check box for your particular vendor).
Most of the options under the Ubercart – Payment section are additional options you can use with different terms and conditions.
Click Save Configuration.
Turning on payment
All of the configuration options for setting up payment are found under Store→Payment Settings. To set Ubercart to use your payment method of choice, follow these steps:
Choose Store→Payment Settings.
Click the Payment Methods block.
Click Payment Methods.
You see the list of payment methods you enabled.
To use a particular method, select the Enabled check box next to it and click Save Configuration.
You won’t be able to select a method until you’ve configured its settings.
Setting up a Google Checkout account
To set up a Google Checkout account, follow these steps:
Browse to Google Checkout.
If you don't already have a Google account, you need to create one.
Fill out a form to gather business information for your account.
After you complete the form, click the Settings tab to get the Merchant ID you will need for your site.
It's in the Private Contact Information section next to Merchant ID.
On your site, choose Store→Payment Settings→Payment Methods→Google Checkout Settings.
Click the Account tab.
In the instructions, copy the URL it tells you to enter on the Google Checkout Merchant Center site.
In another window, browse to Google Checkout and log in if necessary.
Click the Settings tab, and then click the Integration link on the left. Enter the URL from step 6 in the API callback URL text field.
Copy the Google merchant ID number. Click Save.
Press Ctrl+C (Windows) or cmd+C (Mac).
In the browser window with your Drupal site open, choose Administer→Store Administration→Configuration→Google Checkout Settings.
Click the Account tab, and paste the Google merchant ID number into the Merchant ID field.
Press Ctrl+P (Windows) or cmd+P (Mac).
Go back to the browser window with the Google Checkout page, and copy the Google merchant key.
Repeat Steps 10 and 11, but paste the merchant key into the Merchant Key field.