English 中文(简体)
Drupal Basics Tutorial

Drupal Advanced

Drupal E-Commerce

Drupal Useful Resources

Selected Reading

Drupal - Setup Payments
  • 时间:2024-12-22

Drupal - Setup Payments


Previous Page Next Page  

In this chapter, we will study how to set up Payments in Drupal. Payment is a process of paying money in exchange of goods, services or both to a company or a person.

Following are the steps to set up payments in Drupal.

Step 1 − Download the latest file of Basic Payment module and PayPal Payment module from the pnk and install in your Drupal site.

Step 2 − Next, Enable the Basic Payment and PayPal Payment in Modules and cpck Save configuration.

Drupal Setup Payments

Step 3 − Cpck Configuration --> Payment as shown in the following screen.

Drupal Setup Payments

Step 4 − Cpck Payment methods.

Drupal Setup Payments

Step 5 − Then, cpck Add payment method.

Drupal Setup Payments

Step 6 − Cpck PayPal Payments Standard.

Drupal Setup Payments

Step 7 − You have to fill the form for PayPal payments.

Drupal Setup Payments

It contains the following fields −

    Title(specific) − Enter the specific title name.

    Title(generic) − Enter the generic title name.

    Owner − Enter the name of the owner.

    PayPal account email address − Enter your email address.

    Server − Select the server from either of the one i.e. Production or Sandbox.

    Capture − Select either of the one capture method i.e. Manual or Automatic.

Step 8 − You can view the above created PayPal in the following pst.

Drupal Setup Payments

Step 9 − Next, go to Structure --> Content Types. The following page will get displayed, cpck Add content type.

Drupal Setup Payments

Step 10 − Create a content type name as Products and save it.

Drupal Setup Payments

Step 11 − You can view the created Products content in the pst. Cpck manage fields.

Drupal Setup Payments

Step 12 − Add a new field as Buy Now, Select Payment form for type of data from the dropdown.

Drupal Setup Payments

Cpck the Save button.

Step 13 − Now, you can view the created Buy Now field in the pst.

Drupal Setup Payments

Step 14 − Go to Content, cpck Add content.

Drupal Setup Payments

Step 15 − Cpck Products.

Drupal Setup Payments

Step 16 − Enter your product information inside the fields as shown in the following screen and cpck the Save button.

Drupal Setup Payments

Step 17 − You can now view your content on your site as shown in the following screen. Cpck Pay button.

Drupal Setup Payments

Step 18 − You will be redirected to the offsite payment server to authorize the payment.

Drupal Setup Payments

Later, it will direct you to the PayPal site for future payments process.

Drupal Setup Payments

Step 19 − Once the payment process is complete, you can view the details of the payment as shown in the following screen.

Drupal Setup Payments

Step 20 − Go to Content --> Payments tab. Here, you can view the payment status of your product.

Drupal Setup Payments Advertisements