#pripri_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/1313336321866989639
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! Why do you need to remove it? The PaymentMethod is not attached to any customer so you can just ignore it
Hi Alex! So we usually save the payment method to a customer on our payment platform and show it as pending until it is verified.
I don't think that's the right flow actually
oooh what would you recommend?
can you explain the successful flow? Or share a successfully verified PaymentMethod id so I can take a look at the successful flow?
Sure! This is a verified paymentmethod id: pm_1QCdO6HB1HUuaZPvXoFZpqLY
I think we wanted to show that there's a pending bank account verification so the customers aren't confused as to why it hasn't been added already but if there's a better way to do so we're definitely open to ideas!
ah, okay i understand where you're coming from then. If that's the case, then the "deletion" needs to happen purely on your server / database. From Stripe's perspective, the PaymentMethod is successfully attached to a customer when you see payment_method.attached event
and for that unverified PaymentMethod, it was never successfully attached to the customer
Ah I see. Okay thanks for this info!
sure! feel free to reach out again in case you have more questions
Hi Developers, I have a question
We are working to collect payments from our customers using Stripe Payment Links. A Stripe customer record already exists on our account, and we’re generating the payment link using their POST API. While we successfully generated the link and shared it with the customer, the transaction resulted in the creation of a guest customer on Stripe.
Is there a way to associate the payment and payment method from the guest customer to the existing Stripe customer? If this is not possible, what would be the recommended approach to ensure proper customer association? Additionally, we require the payment link to remain valid for at least 8 days.
Let us know how we can achieve this!