I need to integrate third-party payment gateways like Razorpay, Payu with Drupal 8 Webform.

Is there any way to achieve this?

1 Answer 1


I don't think there's a module available for Drupal 8. Payment for Webform existed for Drupal 7 but it is no longer being developed.

Instead, I would look at Drupal Commerce if you need a full-featured solution to handle lots of options.

If your needs are more simple and you just need to embed a form and take payment, there are several non-Drupal solutions that you can integrate into Drupal the same as any other CMS (like Wordpress).

  • 3
    With Drupal Commerce, you can use the Commerce Webform Order module. (@see drupal.org/project/commerce_webform_order)
    – jrockowitz
    Feb 17, 2021 at 9:25
  • Im not using commerce
    – Vishak
    Feb 17, 2021 at 9:39
  • 3
    @Vishak Then look for a third-party solution that lets you offload payment. Webform doesn't support payment handling, and it would be an enormous project to add it (which is why Drupal Commerce exists). Feb 17, 2021 at 9:43

Not the answer you're looking for? Browse other questions tagged or ask your own question.