#manish_error

1 messages · Page 1 of 1 (latest)

viscid hingeBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1270606088546291712

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

sharp bobcat
foggy tree
#

Hello Can you check what is the error in this payment intent here the payment intent id "id": "pi_3Pl3PjSCK3jr3By70hz6EW4o",

sharp bobcat
foggy tree
#

I also provided a description please check, but I got the same error.
Payment Intent Body: {
"id": "pi_3Pl3pTSCK3jr3By70n38oJZe",
"object": "payment_intent",
"amount": 1000,
"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_3Pl3pTSCK3jr3By70n38oJZe_secret_x1JvPSKu9cfL6VUvvuWK470nB",
"confirmation_method": "automatic",
"created": 1723013919,
"currency": "usd",
"customer": null,
"description": "Software Developer for testing stripe payment",
"invoice": null,
"last_payment_error": null,
"latest_charge": null,
"livemode": false,
"metadata": {},
"next_action": null,
"on_behalf_of": null,
"payment_method": null,
"payment_method_configuration_details": null,
"payment_method_options": {
"card": {
"installments": null,
"mandate_options": null,
"network": null,
<…>

sharp bobcat
#
As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports
#

and check the error message

foggy tree
#

can you provide me example, of how to create payment intent in the Flutter app as per Indian regulation?

#

i have this
Map<String, dynamic> body = {
'amount': ((int.parse(amount)) * 100).toString(),
'currency': currency,
'description': "Software Developer for testing stripe payment",
};

sharp bobcat
#

Normally it means you need to create a Customer with name and address first, then use the Customer Id in Create PaymentIntent API

foggy tree
#

Ok

#

check this Request :{"customer":"cus_QcJN7YWi2r216l","amount":2500,"currency":"usd","description":"One-time setup fee"}

#

Response: Payment Intent Body: {
"error": {
"code": "parameter_missing",
"doc_url": "https://stripe.com/docs/error-codes/parameter-missing",
"message": "Missing required param: amount.",
"param": "amount",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_dm18rF0GYH7wmd?t=1723017471",
"type": "invalid_request_error"
}
}

Learn more about error codes and how to resolve them.

viscid hingeBOT
sharp bobcat
#

Well that is missing the amount parameter

foggy tree
#

WE have please check

#

{"customer":"cus_QcJN7YWi2r216l","amount":2500,"currency":"usd","description":"One-time setup fee"}

exotic breach
#

Check what exactly?

foggy tree
#

We have amount filed in request so why it send me amount missing error

#

and one more thing in my other account all are working fine without creating customer only for this account i got this error.

#

can you help me on this?

exotic breach
#

If you're sending JSON to Stripe endpoints?