#adorable_piglet_91140
1 messages · Page 1 of 1 (latest)
LAK is a non zero-decimal currency. So if you specify 50000*100 it should represent LAK5000
Where do you see the incorrect amount?
Hi, can you share how you initate the PaymentSheet?
Hi looking
okay
'amount': '${(widget.amount! *100).toInt()}',
Did you log this out and see its value?
Also have you checked your Dashboard request log? https://dashboard.stripe.com/test/logs
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
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
}
test log
Hmm weird
How can we solve this issue?
I see you are sending correct value, just the PaymentSheet somehow display incorrectly
Let me test out
okey
Hi @full spruce I'm able to reproduce the issue and I'll feed back to the mobile SDK team
okey
best to write to https://support.stripe.com/?contact=true with a description of the issue so they can let you know what the status internally is
The whole story again explains on your support portal.
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!