#ruslan-kazmiryk_code
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.
- ruslan_checkout-urls, 14 hours ago, 85 messages
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1247819865369083954
๐ Have more to share? Add details, code, screenshots, videos, etc. below.
Hi, your request looks normal. Can you find the corresponding request id on https://dashboard.stripe.com/test/logs ? req_xxx
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
What do you mean "corresponding request"
request id
When you run your code it should send out a request to Stripe server, with an Id req_xxx
Look at https://dashboard.stripe.com/test/logs , match with time when you send the request, and see if it generate any of such a request there
well, genuinely, I use localhost adress for that purpose
allow me this
success_url="http://localhost:8000/success/",
cancel_url="http://localhost:8000/cancel/",
because otherwise it will raise another error which will be very tough to fix.
Oh you mean when it redirect back to your page, you don't see anything?
It is not about visuality of page
it is about content of response object
within my test function
that is the point
empty reponse
assumption is that maybe I need some sort of handling response content in cases of success url, cancel url
but so far I don't understand how to provide this
Hey! Taking over for my colleague. Let me catch up.
oK
You need to implement a success page:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=stripe-hosted#success-page
it needs to be implmented under this route http://localhost:8000/success/ (according to your code)
What do you mean "implement"? functioanlity of successful payment already implemented within my project
I mean special successful payment page? Page on which customer will be redirected of payment will be processed?
Allow me to briefly process this information
Yes of course! take your time.
well, it ran through guidelines
It is all about creating special HTML page
let's say as situatinal handler
yes
but In my case I need no such page at all
The you need to use Stripe Element and not Stripe Checkout:
https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements
I don't understand difference between those 2 references
The first is a hosted page and the user will move from your website page to Stripe hosted page, while the other the payment form will be in your own website
could you please explain me in which extent last reference and approach, and previous approach
reference
I invite you to read this guide:
https://docs.stripe.com/payments/accept-a-payment/web/compare-integrations
well, what be a solution in second case?
could you describe it as outlines
because still I am not with you.
In my case I need no HTML-page
so In this case is it second option?
๐ taking over for my colleague. Let me catch up.
@willow depot what do you mean by you don't need an html page? how are you collecting the payment method details from your customers in your use-case?
I am developing API
my project is all about API
no HTML pages there
you haven't answered my question though
only point I want to emphisize - to interact with frontend side on which will be HTML pages
but not directly in my projec t
yes but you can't process payments without that frontend side unless you already have a saved PaymentMethod attached to a customer
thinking about this separately doesn't really get you anywhere
the integration with Stripe is an e2e integration
if you want to "outsource" the frontend side you just need to skip the "Collect Payment details" https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#web-collect-payment-details and expect that the frontend would do their part