#aiwa_23433
1 messages · Page 1 of 1 (latest)
Hi 👋 are you referring to our Payment Element? Or another one of our prebuilt UIs?
this UI wanted to load in our application....if the customer wants to chnage thier card details..
like an iframe load
That looks like the Payment Element, and as far I know it can be iframed, but let me know if you see otherwise in your testing. From what comes to mind, the biggest concern would be it impacting wallets, primarily Apple Pay.
so if it can be iframed.. how can we make it done....just give me the process or the steps to proceed ..
we are only doing payments through the cards....so this should be achieved through an iframe
You put it in an iframe, did you try that and run into problems?
from where will I get the payment method or card update urls.... to load in an iframe.......the above screenshot i took from the stripe dashboard...is there any API avialable to get that urls ? or any other way ?
Oh, oh, sorry, I thought you already had a functioning integration and were trying to figure out if you could modify it. I did not realize you weren't sure where to start.
This guide walks through using the Payment Element to collect payment method details for future usage:
https://stripe.com/docs/payments/save-and-reuse?platform=web&ui=elements
You can build that into a page to allow your customers to create new Payment Methods.
actually i want to load payment method update UI......which means the below url ( i took from stripe dashboard > subscription > action >Share payment update link )https://billing.stripe.com/p/subscription/update_payment_method_link/CBcaFwoVYWNjdF8xS2x1WXpTQk1vTGpac25ZKL-VkawGMgbdANGV9Wk6OtaxTQg1NL3T_pzfQI_-xeliu-u9hZamOnsSnhSlux9NrB4N1qI-HUbzauL9AowxryFdt-sgyAY_ROo
to be loaded in an iframe...for example when clicking a button from our app.. it should load a popup screen with the above url as iframed....
if i can get the payment update urls from an api ...then i can load it in iframe....but unfortunately i coudnt find in the above doc
You definitely can't iframe a dashboard page, sorry for giving you that impression. I didn't realize you were specifically referring to a page in the Stripe dashboard, I thought you were referring to our Payment Element UI in general.
i know that...but asking any corresponding urls are there to load in our app
The only prebuilt UI that comes to mind to do what you're describing, is the Customer Portal, but I don't recall offhand if that can be iframed and you would need to test that.
https://stripe.com/docs/customer-management
sorry to say this...your documentation is making lot of confusions....
can you provide the exact doc page of payment method update / card update details......
No, because that isn't a thing
What you see in the dashboard is dashboard specific functionality.
What I'm hearing is that you're interested in a no/low-code approach to providing your customers with a way to update their Payment Methods, that's the Customer Portal. If you don't want to use it, you would need an alternative flow using a combination of other solutions.
This guide is probably the best fit based on what you're describing:
https://stripe.com/docs/customer-management/activate-no-code-customer-portal
Where you get a link from the dashboard and drop it into a page.
The downside with that approach is that it doesn't know what customer is being sent to the portal, so your customers will need to complete an authentication flow to access that.
this approach wont help me.....i dont want to use customer portal....bcz we have already integrated everything through apis....
i was looking only for the payment method update
through your UI
Then the guide here is what you're looking for. You will need to continue using APIs to create a Setup Intent, and use it to render the Payment Element. Once your customer has entered the necessary details and created a new Payment Method, you'll then need to have your code make any adjustments needed to the related records to cause that Payment Method to be used where you're expecting.
so which means there is no url to update payment methods through an iframe.....except customer portal
Correct