#crobinson
1 messages · Page 1 of 1 (latest)
Webhook is the recommended approach for the low code integration
But you need a standalone api
Can't receive them in the app directly
Is there a reason not to use low code?
Well it won't be natively integrated into your app, so that's something to keep in mind
It's paying in a webview vs native components
We don't want to capture the card#'s in our app. Rather have Stripe collect and manage that
so if I'm understanding you correctly the webview seems like the better option?
Well if you used native components, those details would also be collected by Stripe and managed by Stripe
how does that work? If the customer types their CC# in on a client side field won't we have to transmit it to Stripe?
It doesn't require a lengthy certification?
If you use the payment sheet, pci compliance is handled for you
If you pass raw payment details to our api, that's a different story
Yeah but you said you're using Flutter?
yes
We don't have an official flutter library, so that's a 3rd party library
I don't know how that works
It might just be a wrapper over the native ios and android libraries and you may be able to use the payment sheet but idk for sure
I was reading through this https://docs.page/flutter-stripe/flutter_stripe/sheet
Accept a payment with Payment Sheet.
Ah so yeah looks like it is a wrapper over the native library
I think it is Stripe plugin but you might be right that it's a wrapper
But if I used this method, what is the work flow? Setup the payment sheet and pass along a callback and then the confirmation is sent in the callback to the app?
Yeah
But you still should use webhooks. See the note in step 4: https://docs.page/flutter-stripe/flutter_stripe/sheet#4--handle-post-payment-events
Accept a payment with Payment Sheet.
It's the most robust way
ok. Do you know if webhooks can be used directly in our C# WebAPI?
can I just create a new POST endpoint?
Yes. Here's a sample integration: https://stripe.com/docs/webhooks/quickstart?lang=dotnet
Awesome thanks! Does this include how to use a M2M bearer token with it too?
We use a different method of auth: https://stripe.com/docs/webhooks/quickstart#signature-toggle
Got ya
thank you so much
So, last thing. Just to clarify, the (low code) native implementation uses native Stripe UI elements so we can customize the form completely. The "no-code" is a web page that we redirect to and can customize on the dashboard. That's the only difference between the two right?