Stripe: set up a payment method for future payments

To comply to the PCI DSS regulations I need to send the customers credit card details via a secured stripe connection. I believe you can use stripe.js plugin for that but I have a special workflow where I need to have total control over all subscription steps (create customer- payment method- payment intend - invoice items - tax items - invoice - subscription)

Now my problem is that I do understand the API but have no clue how to use the stripe element to securely send the creditcard details. Stripe adviced me to use " Collect payment details before creating an Intent"link: Collect payment details before creating an Intent | Stripe Documentation

Has anyone used this stripe element case? And can you point me in the right direction?

Works with our plugin

Hi,

It’s not clear to me as I don’t see the action in the plugin list. Is it as simple as:

  1. install payment element
  2. use action “initialize payment element a payment element”?
1 Like

Yes, you will need to start a setup intent and initalize the element.

This topic was automatically closed after 70 days. New replies are no longer allowed.