#Dev!!

1 messages · Page 1 of 1 (latest)

frozen barnBOT
noble musk
#

Hi there!

late tartan
#

Yes

noble musk
#

I'm not familiar with Flutter, and this library was not built by Stripe. So I cannot really help you with that part.
However if you need help understanding how to accept payments with Stripe, I can help! What are you trying to do exactly?

late tartan
#

I just want to know how we can start with stripe integration in general in any app.

Steps which API I need to use first etc

#

Example: I have added a product to the cart and I am going to place an order through the stripe payment method. While clicking on the place order button how the stripe payment will complete the payment.

I have checked the document - But documents just show objects like customer, payment method, intents, etc.

Flow is not available anywhere in the documents like using the API with these parameters and after that use this API etc

Please help

noble musk
#

Give me a few minutes to look into this.

late tartan
#

ok

soft wharf
#

Hey! Taking over for my colleague. Let me catch up.

late tartan
#

okay

soft wharf
#

You can check this Flutter example app which integrate Stripe in it
https://github.com/flutter-stripe/flutter_stripe/tree/main/example
In order to accept a Payment you can follow this android/ios/reactnative guide in order to make a comparable integration using your Flutter App and your backend
https://stripe.com/docs/payments/accept-a-payment?platform=android
If you want to manage product/prices by your own then you need to specify the total amount of each Cart while creating the PaymentIntent:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-amount
Or you can use Stripe to manage your Product/Prices, then I suggest you to take a look at these links:
https://stripe.com/docs/products-prices/how-products-and-prices-work
https://stripe.com/docs/products-prices/getting-started
https://stripe.com/docs/products-prices/manage-prices

late tartan
#

okay let me check

#

Thanks for the details much clear now!!

Just a few questions - We are using Magento integration as well for orders and in Magento, we are using the stripe module.

And after successful payment - Means succeeded on the stripe end.

We are adding the payment method here :
"paymentMethod": {
"method": "stripe_payments",
"additional_data": {
"cc_stripejs_token": "pm_........."
}
}

Then Magento stripe module shows a message like authentication and after we checked it from the stripe dashboard we found that Magento is also creating new payment intent for this payment method.

#

And order is creating in Magento

normal root
#

hmm, I can't imagine this is really going to be possible, trying to combine that Flutter app and a Magento backend, those are entirely separate projects not designed to work together

#

the Flutter SDK is mostly intended for build your own custom payment/order system, and the Magento plugin manages its own frontend and web pages and I don't think has any mobile app frontend option. I don't think you're going to have much luck here.

late tartan
#

Is there any solution for me

normal root
#

I'm not sure how I can answer that. If you want to build a mobile app that takes payments, you can use the flutter SDK and tie it into a custom backend system you build(per the accept-a-payment link posted above). If you want to use Magento for orders, you can use that plugin, but I think it's web-only
I have no idea how you would combine the approaches, and nobody at Stripe really has experience with both Flutter and Magento(my team helps developers building custom integrations and knows nothing about Magento, and we don't know Flutter as that's third party) so I wouldn't know where to begin.

#

we know nothing about Magento on this server I'm afraid and I can't understand that StackExchange question, sorry.

late tartan
#

okay no issues, Thanks for your help!!