#_meetshah

1 messages · Page 1 of 1 (latest)

upbeat geodeBOT
little latch
#

Hi there 👋 just trying to make sure we're aligned. You want to create a Payment Link and have it cause Customer objects to be created when your customers complete the checkout flow? If so, you'll want to set customer_creation to always when creating your Payment Link:
https://stripe.com/docs/api/payment_links/payment_links/object#payment_link_object-customer_creation

midnight hatch
#

And user also subscribe to tier-based subscription

#

is there way I use paymentlink from dashboard insted of code

little latch
midnight hatch
#

I used this but it does not show tire-based payment which I have created

although it showing if I create subscription manually

#

link image you can see no product out there
but in second imager there are two product

one I have added
I also want another one in same page

little latch
#

Oh, hm, maybe Payment Links don't support tiered prices.

#

Yup, just confirmed, they only support standard prices.

midnight hatch
#

okay

#

can I do this with python code?

little latch
#

Do what?

midnight hatch
#

Payment link

#

which has tiered prices

little latch
#

Nope, they don't support tiered prices.

Payment Links only supports Standard pricing (charging the same price for each unit—either one time or recurring) and Customer chooses price (letting your customer specify the price). It doesn’t support advanced options like package pricing, graduated pricing, or volume pricing.
https://stripe.com/docs/payment-links/api#product-catalog

It's more involved, but you could create your own Checkout Sessions which do support more advanced pricing structures.
https://stripe.com/docs/payments/checkout/how-checkout-works

midnight hatch
#

okay got it

#

let me try with checkout session

#

yeap it is workink
thank you