#fengod_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/1502189578327556257
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
req_jEwaK339MyD80D limiting CS by
{
payment_link: "plink_1Rdx75IDEw46cJqgUySHOXjT",
}
while req_BoEi89jUoGLGYB didn't limit anything
yes it did
{
"limit":
"1",
"payment_link":
"plink_1Rdx75IDEw46cJqgUySHOXjT",
}
Oops sorry I overlooked. Yes it did.
Could you share the response? We can't see GET response from our side
you dont store the response from the dashboard
but i captured the id within my product as cs_live_a1SPP4m669BMmJ3apKW6AVNiS3UKiXCzAsjBAHwBhRYLqhtv919Xqio5bn
whereas the same request made from the dashboard returned cs_live_a1YG8vzia3aPqzzwYlOddjQ3UK7z1l9SRcAEK7Zfqhpd6acA0GWy0lSHez which is correct
Hmm both are related to plink_1Rdx75IDEw46cJqgUySHOXjT
You are limiting 1 so probably it take a first response in a non-ordered list
how can there be more than 1 checkout from this payment link?
im setting restrictions[completed_sessions][limit] as 1 when creating the link
cs_live_a1YG8vzia3aPqzzwYlOddjQ3UK7z1l9SRcAEK7Zfqhpd6acA0GWy0lSHez status is paid
cs_live_a1SPP4m669BMmJ3apKW6AVNiS3UKiXCzAsjBAHwBhRYLqhtv919Xqio5bn status is unpaid
Maybe you want to filter by status?
makes sense. How does a checkout session get created?
When a Customer click to the Payment Link
so everytime a customer opens the payment link it creates a new unpaid checkout session?
when i remove the limit from the dashboard, only cs_live_a1YG8vzia3aPqzzwYlOddjQ3UK7z1l9SRcAEK7Zfqhpd6acA0GWy0lSHez appears in the dashboard
whereas id expect both
Could you share the new request id here?
req_jEwaK339MyD80D
if i expire the unpaid checkout session, will it still be returned in the list call?
im thinking of a hot fix to somehow delete it or hide it from the list without changing the code for now
ah nvm the unpaid checkout session is already expired meaning it does appear in the list
Yep so it is expected