Update migrate api payment webform

This commit is contained in:
benjamin melançon 2020-06-18 11:45:51 -04:00
parent 6947608abc
commit 10d76df4dc

View file

@ -17,17 +17,18 @@ category: Purchase
elements: | elements: |
course_summary: course_summary:
'#type': processed_text '#type': processed_text
'#text': | '#display_on': both
## Upgrading to Drupal 9 using the Migrate API '#text': |2
* Lead instructor: **Mauricio Dinarte** * Lead instructor: **Mauricio Dinarte**
* Date: **2020 July 17** * Date: **2020 July 23, Thursday**
* Time: **9am5pm Eastern**
* Cost: **$500** * Cost: **$500**
'#format': markdown '#format': markdown
name: name:
'#type': textfield '#type': textfield
'#title': Name '#title': Name
'#required': true
email: email:
'#type': email '#type': email
'#title': E-mail '#title': E-mail
@ -47,7 +48,7 @@ elements: |
actions: actions:
'#type': webform_actions '#type': webform_actions
'#title': 'Submit button(s)' '#title': 'Submit button(s)'
'#submit__label': Purchase '#submit__label': 'Purchase ticket'
css: '' css: ''
javascript: '' javascript: ''
settings: settings:
@ -233,8 +234,8 @@ handlers:
plan_id: '' plan_id: ''
quantity: '' quantity: ''
currency: usd currency: usd
description: '' description: '[webform:title]'
email: '' email: '[webform_submission:values:email]'
metadata: '' metadata: ''
stripe_customer_create: '' stripe_customer_create: ''
stripe_charge_create: '' stripe_charge_create: ''
@ -258,14 +259,22 @@ handlers:
from_mail: _default from_mail: _default
from_options: { } from_options: { }
from_name: _default from_name: _default
subject: 'Training registration for [source-title]' subject: 'Training registration for [webform:title]'
body: | body: |
Dear [webform_submission:values:name],<br />
<br />
Thank you for registering!<br /> Thank you for registering!<br />
<br /> <br />
[webform_submission:values]<br /> [webform_submission:values:course_summary:html]<br />
&nbsp; <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: excluded_elements:
payment_information: payment_information course_summary: course_summary
payment: payment
optional_info_for_your_receipt: optional_info_for_your_receipt optional_info_for_your_receipt: optional_info_for_your_receipt
ignore_access: false ignore_access: false
exclude_empty: true exclude_empty: true