#manish_error
1 messages · Page 1 of 1 (latest)
👋 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.
Can you find the errored request from 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.
Hello Can you check what is the error in this payment intent here the payment intent id "id": "pi_3Pl3PjSCK3jr3By70hz6EW4o",
Here is your error message
As per Indian regulations, export transactions require a description. More info here: https://stripe.com/docs/india-exports
from https://dashboard.stripe.com/test/logs/req_2bELnkoXpO1hkq
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
So when you create PaymentIntent, please specify description https://docs.stripe.com/api/payment_intents/create#create_payment_intent-description
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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,
<…>
As per Indian regulations, export transactions require a customer name and address. More info here: https://stripe.com/docs/india-exports
You can look at https://dashboard.stripe.com/test/logs to find latest request and notice the one errored
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
and check the error message
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",
};
Normally it means you need to create a Customer with name and address first, then use the Customer Id in Create PaymentIntent API
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"
}
}
Well that is missing the amount parameter
WE have please check
{"customer":"cus_QcJN7YWi2r216l","amount":2500,"currency":"usd","description":"One-time setup fee"}
Check what exactly?
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?
How are you sending the request exactly? I look on Stripe side and there's no parameters that we receive for this request: https://dashboard.stripe.com/test/logs/req_dm18rF0GYH7wmd
If you're sending JSON to Stripe endpoints?
If so, this won't work since you need to send form-encoded request bodies: https://docs.stripe.com/api