#enginer-account-support
1 messages · Page 1 of 1 (latest)
@gleaming bramble do you have a bit more details? What API are you calling exactly? What exact error do you get such as the req_123 in the dashboard_url property
await stripe.paymentIntents.create({
amount: amountInCents,
currency: currency,
customer: customer.id });
What about the other bit of info I asked?
You get an error, the error has lots of details, as the developer you catch the error and log it: https://stripe.com/docs/error-handling. Or you look at your logs in the Dashboard https://dashboard.stripe.com/test/logs
{
"error": {
"code": "payment_intent_invalid_parameter",
"doc_url": "https://stripe.com/docs/error-codes/payment-intent-invalid-parameter",
"message": "All types provided in payment_method_types are invalid. Please ensure the provided types are activated in your dashboard (https://dashboard.stripe.com/account/payments/settings) and your account is enabled for any preview features that you are trying to use.",
"param": "payment_method_types",
"request_log_url": "https://dashboard.stripe.com/logs/req_kGDnMsetM7p0Zs?t=1697475986",
"type": "invalid_request_error"
}
}
@gleaming bramble looks like your account can't accept payments. You should work with our support team for help: https://support.stripe.com/contact
enginer-account-support
why you think so?
because of the request you shared, please work with our support team for help