- Issue created by @boinkster
- πΈπΎSyria hodba Dubai
If I understood it correctly, you are emailing the invoices to clients with a link and you want to set the amount automatically when they press the link.
If this is the case, you can use the prepopulated value of the amount in the link which is related to the webform module. What you need to do in this case is:
- Activate the prepopulate option in the webform configurations
- Construct the link to include the prepopulated value
- The only requirement is to have the prepopulated filed in a webform page and the Stripe field in one the following pages (not in the same page)By doing this, it should be working fine.
- πΊπΈUnited States boinkster
Is it possible to populate the amount with a token from another form element?
- the user enters an amount in a number field
- a computed field adds a 3% markup
- this value is passed to the Stripe amount to make the charge