#tomas-b_api
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/1273141137590321223
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Could you elaborate why are you trying to modify that parameter? Do you follow a Doc?
Yes, I am following the Doc.
I need to change this field if user has selected "Save Payment for later" in order list this payment method in saved payment method list in website UI.
For CC payment methods it works well.
So if user visits webiste agian and wants to purchase I am fitering olready saved payment methods by field allow_redisplay = always and render those payment methods in dropdown.
Maybe you need this setting: https://docs.stripe.com/payments/paypal/set-up-future-payments
For recurring use of Paypal
I use custom flow not checkout flow.
So I just simply need to change Payment method field allow_redisplay value using API https://docs.stripe.com/api/payment_methods/update.
Why I can't? Its not possibleupdate fields for Paypal generated Payment methods?
https://dashboard.stripe.com/test/logs/req_Y1CkmvgaXFc5K3
What does it mean "PaymentMethods of type paypal cannot be updated at this time."
At what time it is possible to update?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Yes I mean the setting mentioned there
You can request access to the recurring payments directly from the Stripe Dashboard. To do that, go to the Payment Methods Settings page, find PayPal and click Enable next to the Recurring Payments section. You’ll see the pending status. It usually takes up to 5 business days to get access to the recurring payments for PayPal. When access is granted, you’ll see recurring payments on your PayPal settings page.
Since allow_redisplay means to reuse the payment method, and Paypal needs this settings for reusing
Paypal is enabled olready, I using custom flow. I am rendering payment methods by myself. Paypal payments works fine now.
I just need to update field "allow_redisplay" after payment intent is successfully processed .
So I am calling https://docs.stripe.com/api/payment_methods/update for payment method when payment.intent.success webhook is recieved.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
This is only one problem with this update.
Yes. But do you have Paypal recurring Payment enabled?