#rajput.abd_22
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- rajput.abd_22, 17 hours ago, 10 messages
- rajput.abd_22, 23 hours ago, 5 messages
- rajput.abd_22, 5 days ago, 16 messages
- rajput.abd_22, 5 days ago, 13 messages
Can you share the request ID (req_xxx) of the error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_XE8DmKXzyYFXej
In subscription creation https://dashboard.stripe.com/test/logs/req_brMANsYPNJuqrq, your system set the payment_method_types to only accept us_bank_account
However, you were trying to update the a card payment method which wasn't declared in your initial subscription creation request.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
payment_settings.payment_method_types is an array [0], so you can simply add card in the array. For example,
{
...
payment_settings: {
payment_method_types: ['card', 'us_bank_account']
}
}
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 am doing this but now i am getting error while creating subscription
req_cIcmea7CfhknaO this is req id
error is payment_settings[payment_settings]. Did you mean payment_method_options?
You have two duplicated and nested payment_settings in your request in https://dashboard.stripe.com/test/logs/req_cIcmea7CfhknaO
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
This is what you sent in the request.
payment_settings: {
payment_settings: {
payment_method_types: {
0: "card",
1: "us_bank_account",
},
},
},
There should only be one payment_settings
okay creating is working fine but i am getting issue on updating subscriptions payment method
reqid is req_ZNTVC8nfLsvtoz
error:- The default_payment_method provided has a payment method type (card) that is not included in payment_settings[payment_method_types].
what do you mean by creating is working fine?
based off the request to create the Subscription, i'm not seeing you pass in card as a payment method type
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.