#tomas-b_api

1 messages · Page 1 of 1 (latest)

hasty gustBOT
#

👋 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.

lone inlet
#

Could you elaborate why are you trying to modify that parameter? Do you follow a Doc?

rare schooner
#

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.

lone inlet
#

For recurring use of Paypal

rare schooner
#

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?

lone inlet
#

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

rare schooner
#

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 .

#

This is only one problem with this update.

lone inlet
#

Yes. But do you have Paypal recurring Payment enabled?

rare schooner
#

I am using stripe test payoal flow on testing enviroment

lone inlet
#

Ah okie I see

#

Sorry I think this might not be supported for Paypal specifically