#Triveraguy - First Post

1 messages ยท Page 1 of 1 (latest)

tiny sequoia
#

Hi ๐Ÿ‘‹

glossy magnet
#

Yeah, I know this not a charge or a subscription, and that Intents are the key. But the devs on my team says that a charge or a subscription MUST be a part of that intent. I'm not a talented enough dev to show them why not or how to do it.

tiny sequoia
#

They are incorrect.

glossy magnet
#

Ha! I've actually given that exact link to a dev. LOL

tiny sequoia
#

The entire purpose of the Setup Intent is to capture card details for off-session use later

glossy magnet
#

Hallelujah. So I'm not an idiot.

tiny sequoia
#

Nope. It sounds like your devs are confusing Setup Intents with Payment Intents. The first "sets up" a card for future charges, the second collects funds.

glossy magnet
#

Cool. That's what I was thinking. Once a talented dev understands that, how long should it take for him to do it?

tiny sequoia
#

But once you have your payment details collected it will be important to make sure you create the subscriptions with off_session: true to ensure Stripe processes the charges properly

glossy magnet
#

Yeah. Once they've submitted their card info, that will be the last the customer will be doing. They will initiate a request for the service, but my client will be the one who will initiate the charge from the dashboard.

tiny sequoia
#

Ah okay. IMO it shouldn't take too long to set up but that depends on how complex your back & front ends are.

#

Integrating the Customer creation and Setup Intent creation logic isn't too complicated and we have code snippets that cover both sides of these steps. Figuring out where this fits in your larger application workflow is a design choice for you and your devs.

glossy magnet
#

It's an old (5.6) version of Concrete 5. It's really been just a page with a form that stored the card numbers in the database, and the client has been grabbing the card info in the admin, writing them down in his notebook (!)

#

Thus the PCI-DSS fail.

tiny sequoia
#

I have no idea what Concrete 5 is. We support 7 different server-side languages though.

glossy magnet
#

Yeah. PHP or JS both will work just fine

tiny sequoia
#

But yeah, raw card numbers anywhere is a PCI issue. That's why Stripe.jsj tokenizes the card info prior to saving the payment method

glossy magnet
#

Once the card info has been submitted, the only thing that needs to happen is a thank you, and instructions on how to contact my client to request service.

tiny sequoia
#

Okay so I think that, once your devs understand what is and isn't required for Setup Intents, it should be fairly straightforward

glossy magnet
#

OK. Cool.

tiny sequoia
#

As developers they may find this interesting and useful

glossy magnet
#

I tried to get him to post here and get his answer. But he's too proud to ask. ๐Ÿ™„

tiny sequoia
#

Yeah well if you're not in the right mindset it can just wind up making everyone frustrated. Maybe some serious reading and designing of workflows will help everyone get on the same page.

glossy magnet
#

A Stripe-hosted page that does this woulda/shoulda/coulda made this so much easier.

tiny sequoia
#

Oh, you can use Stripe Checkout to collect card info

glossy magnet
#

Without a purchase?

tiny sequoia
#

Yup

glossy magnet
#

#@$% LOL

tiny sequoia
#

You just need to specify mode: "setup"

#

Or....in PHP 'mode' => 'setup'

glossy magnet
#

OK, thanks. Let me point him in that direction. If that doesn't work, I'll point him here to do it the other way.

tiny sequoia
#

๐Ÿ‘