I have been looking for a solution to create a Stripe account and have them save the credit card info during a Drupal 8 Webform submission. I do not want to actually charge anything during this form.
Ideally, I would like to do it so I don't need to handle the CC info but I don't see how to do this during the form submission. The only way I am finding is to actually collect the card and customer info and then send it to Stripe AFTER. But this will require full PCI compliance and is not the way I would like to go.
I have created a content type bundle called Question, which includes few form fields and a reference entity, the structure can be found on the following image Content type structure for Question bundle
My Goal is to build a page to display random 10 questions with checkboxes that represent answers for each question (Like Simple Quiz), and then submit the form for calculation the score of the user and display it.