#adorable_piglet_91140

1 messages · Page 1 of 1 (latest)

noble sigilBOT
pure hamlet
#

LAK is a non zero-decimal currency. So if you specify 50000*100 it should represent LAK5000

#

Where do you see the incorrect amount?

full spruce
#

Our flutter we have implement stripe payament getway

#

are you there?

pure hamlet
#

Hi, can you share how you initate the PaymentSheet?

full spruce
full spruce
#

Hi

pure hamlet
#

Hi looking

full spruce
#

okay

pure hamlet
#

'amount': '${(widget.amount! *100).toInt()}',

#

Did you log this out and see its value?

full spruce
#

mount': '${(widget.amount! *100).toInt()}',
50000x100 = 5000000

#

CASE 2: LAK Currency
~ Request
Request POST body

{
"amount": "5000000",
"currency": "LAK"
}

~ Response
Response body

{
"id": "pi_3NhBRmJs0hvfsqV90MaQ3cfD",
"object": "payment_intent",
"amount": 5000000,
"amount_capturable": 0,
"amount_details": {
"tip": {
}
},
"amount_received": 0,
"application": null,
"application_fee_amount": null,
"automatic_payment_methods": null,
"canceled_at": null,
"cancellation_reason": null,
"capture_method": "automatic",
"client_secret": "pi_3N*************************************************dS0O",
"confirmation_method": "automatic",
"created": 1692537218,
"currency": "lak",
"customer": null,
"description": null,
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {
},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
"request_three_d_secure": "automatic"
}
},
"payment_method_types": [
"card"
],
"processing": null,
"receipt_email": null,
"review": null,
"setup_future_usage": null,
"shipping": null,
"source": null,
"statement_descriptor": null,
"statement_descriptor_suffix": null,
"status": "requires_payment_method",
"transfer_data": null,
"transfer_group": null
}

pure hamlet
#

Hmm weird

full spruce
#

How can we solve this issue?

pure hamlet
#

I see you are sending correct value, just the PaymentSheet somehow display incorrectly

#

Let me test out

full spruce
#

okey

noble sigilBOT
stoic pasture
#

Hi @full spruce I'm able to reproduce the issue and I'll feed back to the mobile SDK team

full spruce
#

okey

noble sigilBOT
magic echo
full spruce
#

The whole story again explains on your support portal.

magic echo
#

yeah, sorry, we don't have a good process for this

#

anyway, if you write in then your support ticket will eventually get to the right place and we'll connect it with the internal ask for the bug. My colleague did already file the bug internally(won't be looked at until US time later at the very least, and beyond that I can't give you any ETA). You can also look for new releases of the stripe-ios/stripe-android libraries. Sorry it doesn't work better!