#gum-paymentlinks-code
1 messages · Page 1 of 1 (latest)
👋 @dreamy moth what do you mean by "get that code to interact with anything"?
I have lots of code files but, how do I integrate them into stripe?
Stripe offers APIs. You write code on your own website/app/environment where your code interacts with our API. There is no "integrating into Stripe"
I'm sorry I'm not sure how to help yet because you definitely seem completely lost (which is totally fine at first)
Step 1: How did your friend integrate Stripe in the first place? I'm going to guess they use a third-party plugin (like WooCommerce) or platform (like Squarespace or Shopify)? If that's the case there's no way for you to modify the code
they want to a payment link through stripe that they would send out to people
Gotcha, but then that requires that you (the developer) write the code (which you seem to have done) and then host it somewhere on a real server the same way you would build any app/website you own so that your friend can use it and create those PaymentLinks because the Dashboard doesn't support manual capture as an option right now
gum-paymentlinks-code
Ok that helps. I think one of the reasons is I am using an app called j-grasp which isn’t sufficient for running real world things. Would putting the code into something like visual studio work?
Visual Studio is just an editor to write code/text. It does not do anything else, that's not how you store/run code.
Ok, could you give an example of what that would be? Sorry I know that I sound pretty lost.
I can't really tell you I'm sorry. There are millions of ways of storing/running code
What are you really trying to do? Just create one PaymentLink for them?
We are trying to create a payment link at one price for a product that multiple people in a group chat could use. Once we have the final amount of orders, we would manually capture the payment and put it at a lower amount as a volume discount
Okay but is this a one-off, you'll never do this again?
No it would be used whenever we need to use it, it would be a link sent out for one order of shirts to a group chat of people who may be ordering. Once everyone puts in their info and preauthorizes at let’s say 20, we then go in and get a final count of people and calculate the volume discount based on how many people preauthorized. Then we capture for that lower amount let’s say 18 bucks
sorry you are misunderstanding me
Are you going to create many separate PaymentLinks over and over? Or just one PaymentLink now and then that one specific link/URL will be used moving forward
It would be multiple, but one url for each group
Gotcha, so yeah you need to figure out how to host your real code online. Unfortunately it's not something where you just copy-paste some code and it's done, deploying a real live application is a lot of work
Yes, I’ve just looked into this and realized there is a lot more to setting this up. I think the problem is my friend has zero knowledge with these things and didn’t realize this when reaching out to me for help and I was just following the stripe directions on the site before looking into everything else. Thank you for your time and patience, you are quite helpful with what you had to work with here.