Skip to content

WIP: Webform Handler#6

Open
TessaBakker wants to merge 2 commits into
chx:masterfrom
TessaBakker:feature/webform_handler
Open

WIP: Webform Handler#6
TessaBakker wants to merge 2 commits into
chx:masterfrom
TessaBakker:feature/webform_handler

Conversation

@TessaBakker

@TessaBakker TessaBakker commented Jun 20, 2018

Copy link
Copy Markdown
Contributor

Using the 'default' types in Commerce is not always desirable.
Therefore a Webform Handler could be very useful.

This is still in progress, and not ready to merge.

ToDo:

  1. Allow to redirect to Cart instead of Checkout Flow
  2. Add more configuration
  3. Fix the multiple todo's in code
  4. Cleanup old code
  5. Set 'secure token' option in Webform config when saving the handler

New features:

  1. Webform handler for configuration per webform
  2. Post validation event for submitting the submission on early leave within the offsite payment provider
  3. Optional selection of a calculated order item, by using a Twig computed field

Diagram to explain some inner workings:
webform_product_diagram

Feedback is always welcome!

Thanks to @Sutharsan for feedback and contributions to the code.

@chx

chx commented Jun 27, 2019

Copy link
Copy Markdown
Owner

How this is coming along?

@TessaBakker

Copy link
Copy Markdown
Contributor Author

Hi @chx,

I moved the code to drupal.org/project/webform_product to get more support, with some small success :)

Tenken has send me some modifications to the code. I still need to find some time to review and patch them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants