#anubhavshakya
1 messages · Page 1 of 1 (latest)
Hi
What you mean exactly by dynamic price in the link? can you share a existing sample and what you want to achieve ?
Ok, so we provide a print service to the user and there is two way for payment. one way is to pay payment on our app. and second we provide the public payment in which we send the link of payment. so the amount of order is not static it can be any amount.
@twilit ember are you there ??
Please don't use mentions, I'm monitoring your thread.
ok
The PaymentLink is for a particula product. Did you checked Stripe pricing table ?
You can create a pricing table with all possible prices, and let your customer choose what they want
Otherwise you need to provide each customer the link with the target products they want.
Pricing table is not suitable for our use case. so suppose If we process 1000 orders per day then we have to manage 1000 links.
For every link i have to create a different price id because amount is not static. so is there any limit of price and link creation ?
so suppose If we process 1000 orders per day then we have to manage 1000 links.
Ah for each order you need to create a specific price and link for it?
If so you probably need to use Invoice for this.
And for each invoice's item you just specify the Amount:
https://stripe.com/docs/api/invoiceitems/create#create_invoiceitem-amount
You can send the invoice to your customer in order to pay it then
You can follow this full quickstart for a complete Invoicing integration:
https://stripe.com/docs/invoicing/integration/quickstart
ok Thanks....