Created on 3 July 2023, about 2 years ago

Hi,
Is there a way to provide a field where user can add the custom amount and it is used for the payment?

Best regards.

Feature request
Status

Active

Version

2.0

Component

Miscellaneous

Created by

🇦🇪United Arab Emirates beautifulmind Dubai

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @beautifulmind
  • 🇵🇱Poland Alexius

    Hi, you need create a number type field in webform (field can called "Amount"), and then add token [webform_submission:values:amount] to amount field in stripe card element created by this module.

  • 🇦🇺Australia digitalcatalyst

    So I'm trying to pass a custom amount, I've added a field called Amount to my webform, then in stripe payment intent, I've tried both a defined product and custom, but my form amount doesn't arrive at stripe, just the defined product or the mandatory custom amount.

    amount: [webform_submission:values:amount]
    payment_method_options:
    card:
    installments: null
    mandate_options: null
    network: null
    payment_method_types:
    - card

    Any help with what Im missing?

Production build 0.71.5 2024