Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module integrates PayPal with Drupal Webform, allowing payments to be processed based on form submissions. You can map webform fields to payment details like price, quantity, and transaction ID, and the module supports multiple currencies with dynamic selection.

Description

This module integrates PayPal with Drupal Webforms, allowing users to process payments based on form submissions. Users can map webform fields to price, quantity, transaction ID, and currency fields for seamless payment processing.

Features

  • Map webform fields for price, quantity, and transaction ID.
  • Supports multiple currencies using real-time data from the REST Countries API.
  • Enables users to select currency options dynamically.
  • Secure and configurable payment processing.

Requirements

  • Drupal 9 or higher
  • Webform module
  • GuzzleHTTP library (included in Drupal Core)

Configuration

  1. Navigate to Admin > Structure > Webforms > Settings.
  2. Click on Handlers and add the PayPal Webform Handler.
  3. Configure the following fields:
    • Price Field: Select the webform field containing the payment amount.
    • Quantity Field: Select the webform field containing the quantity.
    • Transaction ID Field: Select the webform field to store the PayPal transaction ID.
    • Currency Field: Choose a currency from the dynamically fetched list.
  4. Save the configuration.

Usage

Once configured, whenever a user submits the form, the module will process the payment via PayPal using the provided details.

Troubleshooting

  • If currency options are not loading, ensure that the REST Countries API is accessible.
  • Check the Drupal logs at /admin/reports/dblog for any module-specific errors.
  • Ensure Webform and PayPal settings are correctly configured.

Activity

Total releases
1
First release
May 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
1.0.x-dev Dev May 9, 2025