#notdoge-payment-link
1 messages · Page 1 of 1 (latest)
@teal pulsar no, otherwise anyone could set any amount they want and change your expected amount too which wouldn't really work
You create a Price in the Dashboard and then you create a PaymentLink for that Price
so the payment is fixed
You can create separate links for separate products/amounts
It can only be created on the dashboard page
We're adding an API for this soon but today it's just in the Dashboard since it's more a "no code" solution
It's really easy to write code that will create a Checkout Session for the right amount
My idea is create unique link to unique customer, and track that payment status
okay so at this point it's easier to just use Checkout and create the the Session with the right amount/information
that's a basic example, there are alternatives https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-line_items-price_data for example let you pass price details
yes you either create a Price/Product or you pass price_data to create it inline
Thanks for helping