#cristoffer_best-practices
1 messages ยท Page 1 of 1 (latest)
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.
- cristoffer_unexpected, 3 days ago, 22 messages
๐ 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/1244947092355420240
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
๐ happy to help
there are several ways to go about this
I'm going to name a few
the easiest: use the metadata on the PI to store the price IDs
2- store the order details on your db and either store the PI ID on your end or store the OrderID on the PI's metadata
3- Use Checkout Sessions instead of a custom flow
4- use Invoices
I think i'll use metadata, cause dont know your all features yet. I have just started using stripe and trying to integrate it with my app
I know for sure that i want to have products data assigned to payment and also i'll store this data on my db somehow
btw are you from poland? i have a question which would be easier to ask for me in this language?
unfortunately we only offer support in english on this channel
if you prefer to get help in your native language please contact https://support.stripe.com/?contact=true
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
ah oke
i have tried to set receipt email and nothing really happened after successful payment in test mode. Is this normal or should i get an email on provided email address?
the only way to receive receipt emails in test mode is setting up the customer's email with the same email of your Stripe Account
that's why
so last question is, is there a way to make something on my backend after successfull payment. Right now i just send client_secret (and at this point this payment is not done) to frontend and i would like to avoid making a post request from front after successful payment.
so the full process would be:
- Create payment intent on backend when user enters payment page
- Attach products data, address data etc. to payment intent
- User pays
- Backend receives notification(?) from stripe that some payment was done with it's data
Oke i see that will be good for that
Thank you very much for your time