#wizzprox

1 messages ยท Page 1 of 1 (latest)

minor swiftBOT
outer vale
#

Oh, thank you !

stuck obsidian
#

hi! do you have any specific examples and technical details of what exact JSON fields that you're looking at to indicate it was successful?

outer vale
#

stripe_service.dart is ok ?

stuck obsidian
#

I know nothing about it as we don't officially support Flutter but maybe I could say something if there was more detail sure!

outer vale
#

See, for example, the amount raised is 101$. after the payment failed, those 10$ failed donation is still counting

stuck obsidian
#

sounds like an issue in the app specifically any not in the Stripe SDK/API ?

#

the correct way to do this generally would be to track the donation totals etc in your backend server, and you'd use webhooks to update the backend database when the payment is successful

outer vale
#

Thats the thing. the backend is getting them as "succesfull donation" aswell

stuck obsidian
#

do you have the evt_xxx Event ID of a webhook where you've received payment_intent.payment_succeeded for example that corresponds to the attempt in the screenshots?

outer vale
#

Sec

#

Should i find them on the Stripe website ?

stuck obsidian
outer vale
#

Ok, give me few minutes please

#

No events available

#

Should i enable test mode on the app ?

stuck obsidian
#

not sure. You are the developer building the app, so preumably you have been testing this in test mode and monitoring the logs in your app and on your server so would be able to replicate this problem immediately and check what webhooks you're recieving and so on and get details from logs?

#

overall I'm a bit lost really

outer vale
#

Im not the developer, i just bought the project from a website ๐Ÿ˜„

#

But yeah, i guess i need to activate the test mode

stuck obsidian
#

ok then I suggest you ask the developer instead.

outer vale
#

Yeah, i did, waiting for reply..

outer vale
#

I found this in logs

stuck obsidian
#

sorry, you'll need to work with the developer who worked on this codebase to understand how it determines payment success and how it works overall

minor swiftBOT
outer vale
#

Ah, i think i found the issue..

#

As you can see, if i press on donate on browser, it is giving me this page

#

But on the app, its giving me this, and i dont think this is the Stripe payment page xD

#

Yeap, tried again on website and its working

scarlet comet
#

hi! I'm taking over this thread.

#

the first screenshot is definitely a Stripe Checkout Session.

#

the second screenshot I'm not sure.

outer vale
#

Hello, nice to meet you Soma !

#

Yeah, so somehow, i need to get rid of that checkout page

#

Or replace it with the Stripe's one, idk..

scarlet comet
#

the second screenshot, is this a website or a mobile app?

scarlet comet
#

if it's a mobile app, it's most likely the Stripe PaymentSheet

outer vale
#

The first one is web

#

PaymentSheet, ok, let me try to find the file

#

Ohoho, omg, i got so many strings about "PaymentSheet"

scarlet comet
#

are you using Flutter to build your app?

outer vale
#

Yep

scarlet comet
#

unfortunately stripe-flutter is not an official library, so we can't really help you with this.

outer vale
#

Ah.. Damn..

#

Yeah.. All i need to do, is to replace that payment layout to the original Stripe.. But idk how to do that