#amy_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/1229612429403488256
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
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.
- amy_code, 6 days ago, 38 messages
Can you share what you're trying to achieve here?
In https://dashboard.stripe.com/test/logs/req_DWTlxoInwcFN2m, the pm_1P5mhH04cT6YoXkEDEDae0xm was not set to be saved for future payments
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hello, our process is to have a link with the user. At present, our business is to lease the user's card after the successful payment of the charge, and the remaining deposit amount after the rental fee is returned after the rental is completed. However, if the user has a customer complaint during the process, how can we contact the customer?
Within your system should save the user contact associated to this payment. If the user has any complaint, you can then retrieve the contact details from your database
The current plan of the system is not saved, and the user can get the leased things after the successful payment
Is there any way that I can get a unique ID of the person who swiped the card this way? I look at the card, fingerprint, but this is optional
Stripe has no visibility who the person is unless customer is set when creating a Payment Intent: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-customer
However, https://dashboard.stripe.com/test/logs/req_KuQYgMljsJtVcV didn't have customer set, so Stripe doesn't have any information about the customer
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Alternatively, you can set the customer information in metadata which can be used to identify your own user: https://docs.stripe.com/api/payment_intents/create#create_payment_intent-metadata
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, I'll take a look. Thank you
No problem! Happy to help ๐
So what that means is that when I create payment_intent, I set up the information about the user myself, for example, through metadata, something like the user's phone number can be set here, and then if the user complains, then through this metadata, I can find the payment order, right?
Yes, correct
Okay, thank you. Let me think
https://docs.stripe.com/api/payment_intents/update
This API, can be called after the success of the capture, like the user capture success, through this metadata, set the user and device information
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
For metadata - yes! metadata can be updated after successful capture
Updating a Payment Intent doesn't have a Webhook event
Do webhooks exist only when the paymentIntent state changes
If you're to webhook event, there won't be any event sent when updating a Payment Intent with metadata
If you're referring to the status changes on Payment Intent, then yes - payment_intent.* events will be sent
ok. thank you