#sg-pushpaveni_code
1 messages ยท Page 1 of 1 (latest)
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.
- sg_source-migration, 6 days ago, 14 messages
- sg-pushpaveni_code, 6 days ago, 24 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1260128770942304316
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi! Can you share the request ID (req_xxx)? 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.
ok, few mins, I will get it from dashboard
req_zysxFe0Cfn9dm1 - /v1/setup_intents
req_AWmZdLyEux2Kbr - /v1/setup_intents/seti_1PaXlmEtzJLzN4BfcFdBXPNM/confirm
req_E5t2ZXfmmUp103 - /v1/customers
After this Im trying to create the PaymentIntent as below to charge/get the payment from given IBAN account. And getting the error as "Stripe.PaymentIntentCreateOptions.PaymentMethodTypes.get returned null"
var paymentIntentOptions = new PaymentIntentCreateOptions
{
PaymentMethod = stripePaymentMethodId,
PaymentMethodTypes = { "sepa_debit" },
Amount = stripeChargeAmount,
Currency = CurrencyType,
Description = PaymentDescription,
SetupFutureUsage = "off_session",
Customer = stripeCustomerId,
};
these changes are for SEPA direct debit migration process
Am I missing any parameter for the paymentIntentCreateOptions?
PaymentMethodTypes = { "sepa_debit" },
should be
PaymentMethodTypes = ["sepa_debit" ]
ok
And I don't think you need to set SetupFutureUsage in the payment_intent creation request.
the above error is resolved now
but I get a new error for this
var service = new PaymentIntentService();
paymentIntent = service.Create(paymentIntentOptions);
Hi! Can you share the request ID (req_xxx)? 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.
Stripe.StripeException: 'When confirming a PaymentIntent with a sepa_debit PaymentMethod and setup_future_usage, mandate_data is required.'
I think I've told you to remove SetupFutureUsage
req_unX1caNrr8LsES
Remove SetupFutureUsage and try again
ok sure
thanks for support, the payment intent works now
kindly let me know about this - when SetupFutureUsage has to be used
You set SetupFutureUsage when you want to collect a payment method during payment. https://docs.stripe.com/payments/save-during-payment?platform=web&ui=elements#web-create-payment-intent
I have added this property "SetupFutureUsage" for recurring payments which we trigger on monthly basis for that same customer
No, it's not necessary
oh ok fine
can I simply use the PaymentMethod id when triggering the monthly recuring payments?
'pm_1PaGEnEtzJLzN4BfRRj5IHKy'
Yes. You can create PaymentIntents with it yourself, each month. But I recommend using Stripe Billing: https://docs.stripe.com/billing/subscriptions/build-subscriptions?ui=elements
ok, I will check it out
thanks for the support ๐
Happy to help.