Update migrate api payment webform
This commit is contained in:
parent
6947608abc
commit
10d76df4dc
1 changed files with 20 additions and 11 deletions
|
@ -17,17 +17,18 @@ category: Purchase
|
|||
elements: |
|
||||
course_summary:
|
||||
'#type': processed_text
|
||||
'#text': |
|
||||
## Upgrading to Drupal 9 using the Migrate API
|
||||
|
||||
'#display_on': both
|
||||
'#text': |2
|
||||
* Lead instructor: **Mauricio Dinarte**
|
||||
* Date: **2020 July 17**
|
||||
* Date: **2020 July 23, Thursday**
|
||||
* Time: **9am–5pm Eastern**
|
||||
* Cost: **$500**
|
||||
|
||||
'#format': markdown
|
||||
name:
|
||||
'#type': textfield
|
||||
'#title': Name
|
||||
'#required': true
|
||||
email:
|
||||
'#type': email
|
||||
'#title': E-mail
|
||||
|
@ -47,7 +48,7 @@ elements: |
|
|||
actions:
|
||||
'#type': webform_actions
|
||||
'#title': 'Submit button(s)'
|
||||
'#submit__label': Purchase
|
||||
'#submit__label': 'Purchase ticket'
|
||||
css: ''
|
||||
javascript: ''
|
||||
settings:
|
||||
|
@ -233,8 +234,8 @@ handlers:
|
|||
plan_id: ''
|
||||
quantity: ''
|
||||
currency: usd
|
||||
description: ''
|
||||
email: ''
|
||||
description: '[webform:title]'
|
||||
email: '[webform_submission:values:email]'
|
||||
metadata: ''
|
||||
stripe_customer_create: ''
|
||||
stripe_charge_create: ''
|
||||
|
@ -258,14 +259,22 @@ handlers:
|
|||
from_mail: _default
|
||||
from_options: { }
|
||||
from_name: _default
|
||||
subject: 'Training registration for [source-title]'
|
||||
subject: 'Training registration for [webform:title]'
|
||||
body: |
|
||||
Dear [webform_submission:values:name],<br />
|
||||
<br />
|
||||
Thank you for registering!<br />
|
||||
<br />
|
||||
[webform_submission:values]<br />
|
||||
|
||||
[webform_submission:values:course_summary:html]<br />
|
||||
<br />
|
||||
Connection information for joining the training online will be sent prior to the event.<br />
|
||||
<br />
|
||||
Best,<br />
|
||||
<br />
|
||||
Mauricio Dinarte and the team at Agaric
|
||||
excluded_elements:
|
||||
payment_information: payment_information
|
||||
course_summary: course_summary
|
||||
payment: payment
|
||||
optional_info_for_your_receipt: optional_info_for_your_receipt
|
||||
ignore_access: false
|
||||
exclude_empty: true
|
||||
|
|
Loading…
Reference in a new issue