#AlexandrosF
1 messages · Page 1 of 1 (latest)
Hi there!
Pasting all your messages in this thread:
/v1/charges?payment_intent=pi_3Lp9elHxOlRtSiWk1C5Lst4w
How do I use this for the payment link?
What is the full url?
ok
Can you clarify what you are trying to achieve?
Yes. Sure
I have built an application out of stripe that generates and sends invoices.
I would like for each invoice of my application to have a payment link throgh stripe
So I called the payment intent API to generate a payment intent
but the url I receive is half
I dont know what should be the full
I would like for each invoice of my application to have a payment link throgh stripe
What do you mean by "payment link" here? A URL you can send to your customers so they can pay the invoice?
You have two options for this:
- Either use our Payment Link feature. More info here: https://stripe.com/docs/payments/payment-links
- Or create an invoice with Stripe. Then the invoice object will contain a
hosted_invoice_urlthat you can send to your customers
But I dont want to send an invoice from Stripe
You mean to make the invoice and leave it there
not send it?
My app already issues invoices
Actually this is the main functionality of my app
Payment links might be an issue because they require a product.. I dont have products I only want an amount for a specific invoice
Does it make sense what I am saying?
But I dont want to send an invoice from Stripe
You can create an invoice in Stripe, without sending it to the customer. Then you manually send them thehosted_invoice_urlso they can pay it
Payment links might be an issue because they require a product.. I dont have products I only want an amount for a specific invoice
You just have to provide anamefor the product, everything else is optional.
Will he be able to see the Stripe invoice in any way?
What about payment intents?
What is your opinion about htem
them?
What about payment intents?
Sure you can use PaymentIntent, but that's a lot more work for you. Here's how to accept a payment with PaymentIntents: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Sure!
Thank you so much! You are so kind!
Something that I forgot to mention: payment links are great if the amour is always the same. If you want the amount to be dynamic, then you probably want to use Checkout Session instead: https://stripe.com/docs/payments/accept-a-payment