By Me on
Hi All,
Drupal 8
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.
Any suggestions?
Comments
I have been looking for a
This will take you out of PCI compliance.
Contact me to contract me for D7 -> D10/11 migrations.
By "This will take you out of
By "This will take you out of PCI compliance."
Do you mean it will not be compliant?
Either way, I have not found a solution to be able to do anything short of actually saving all info to a DB and then creating the account by code or manually. This solution cannot be compliant since it still uses the same server and DB. That I know.
What I am not sure how to do is get the Stripe popup to be part of the form process?
Even if I went with a compliant server I don't see a way to do this on a "normal" Drupal site. The way I have always seen it is the normal website would be handing the form off to a separate server and the data would be processed on it and retained on it. Tokens can be passed back (like what stripe is doing) but the entire registration form if it truly was only one form would need to be on the secure server.
What I was hoping for was a way to get the Stripe Jave to display the pop-up and collect the data and allow my form to continue. Saving customer ID and card token to the Drupal DB. (no CC Info)
Is there not a module that
Is there not a module that can provide Stripe integration for you?
Contact me to contract me for D7 -> D10/11 migrations.
Not yet for D8
I have this for version 7 but nothing for 8 that is not abandoned, in Alpha or requires Composer. I have nothing against command line but I can not get SSH to this site, so Composer is a no go. (I am not thrilled that it is becoming "required" for Drupal...)