#notdoge-payment-link

1 messages · Page 1 of 1 (latest)

rapid palm
#

@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

teal pulsar
#

so the payment is fixed

rapid palm
#

You can create separate links for separate products/amounts

teal pulsar
#

It can only be created on the dashboard page

rapid palm
#

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

teal pulsar
#

My idea is create unique link to unique customer, and track that payment status

rapid palm
#

okay so at this point it's easier to just use Checkout and create the the Session with the right amount/information

teal pulsar
#

Thanks

#

Let me check the session document

#

for the price?

rapid palm
teal pulsar
#

like this one

rapid palm
#

yes you either create a Price/Product or you pass price_data to create it inline

teal pulsar
#

Thanks for helping