#fatkat_code
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/1283090485459816500
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
I use bricks builder that has a code element that I'm thinking maybe I take the stripe code and input it with my API keys?
Hello, unfortunately we don't have knowledge of wordpress plugins to use on this server. We do have this doc on creating a checkout session with separate auth and capture. https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=stripe-hosted#auth-and-capture
I am double checking our no-code solutions but so far am not seeing a way to configure separate auth and capture for them. Will get back with what I can find.
Thank you. I was looking at the stripe docs here: https://docs.stripe.com/payments/place-a-hold-on-a-payment-method?lang=php
I might be able to implement this.. but guess I'm unsure of how to run this code
Or if it's possible with webhooks
This is possible with Payment Links! https://docs.stripe.com/api/payment-link/create#create_payment_link-payment_intent_data-capture_method
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Payment links via the dashboard? I tried to set it to capture later but couldn't find the setting
Payment Links are a no code offering where you have a static URL that creates checkout sessions when a user clicks on them. This will still take a bit of coding on your side as it looks like the capture method can only be set via and API call but after you've created the link you can just use it like a normal link
Yeah only available via the API for some reason đ¤ˇ
Hmm sorry how would I create the link and then change the API call?
This would be perfect though
I just have only created a payment link via the UI and not through the API
There are a few ways to do it. We have official libraries that are build to make this kind of API request and we also have a command line tool. You mentioned that you have some coding experience, are there any languages you already know how to install and utilize a "library" or "module" or "package" in?
I'm familiar with python a little. But where would I install these libraries?
Specifically it'll be used on a website
Or is it possible to create it on the stripe cli?
For this you could just install it on your local machine and run it with your local python setup. The end result is a https://buy.stripe.com URL that can be used anywhere. So the webserver doesn't need to run any Stripe code, you just need to run something once to create a link with this specific parameter
Yep possible there too. Something that might be helpful for you here is that we have an API explorer online that helps you build an API call and can run the code there or print it out for you to run elsewhere https://docs.stripe.com/?shell=true&api=true&resource=checkout sessions&action=create
Is stripe cli free? So basically I just create the url once? Will this payment link show up on my dashboard after it's created?
Yes to all three
and that page I linked to actually runs the Stripe CLI in the browser
Okay let me mess around while reading the docs and see if I can make this link
Thanks for all the help so far!
Okay really stupid question.. on stripe cli how do I enter below?
Like I'm doing
stripe payment_links create \
But I can't enter below it to input the rest. Do I need to paste the full command?
This API explorer is very nice.
So I tested making a link. It worked, but now looking for the line of code to input to set manual capture
There is a payment_method_data row in the API explorer for that call. If you click on it, it should take you to somewhere where you can set capture_method to manual
Sorry just found that in the API explorer
Running test mode and this seems to be working
Wow this is nice haha such a simple solution for something I've been searching for weeks for lmao
Now I need to lock the payment methods to cards etc
Found it all. Just so you don't spend time searching for it for me
Nice, glad we could find a solid solution for you here!
Haha yeah this amazing. You have no idea how long I looked for a plugin solution
Is there anyway to remove the
save my information for 1-click checkout with link
Yes, finding where that setting is again
Also, side question. When people accept the terms - where does it log that?
Oh I see on stripe dashboard in transactions, the first 200 OK shows terms of service accepted
Wish there was a way to change the book/buy button to Deposit or Authorize Hold
So I think what you are looking for is on this page if you click on the ... button in the link row and then expand "Supported integrations" you can turn link off for Checkout https://dashboard.stripe.com/settings/payment_methods
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I can work this via the embed button since it lets me enter custom text
That seemed to work!
I think you can change the buy button verb from the payment link's settings in your dashboard
On dashboard it is greyed out for edit because it was created from the API
Looks like the API param is https://docs.stripe.com/api/payment-link/create#create_payment_link-submit_type
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.