#kefran-paymentlink-product
1 messages · Page 1 of 1 (latest)
@little mulch Node.js is Javascript and it's right there
You can't do this client-side in a browser. This requires your Secret API key, it can only be done on your server
Ok so what I'm trying to do is not possible?
you deleted your messages but it seems you were trying to do that client-side
correct it's impossible/doesn't make sense in this flow no
Yes, I understood a bit after what you meant
what are you trying to really do?
I'm building a site for a gym, people can sign up for a month but depending on when we are in the current month, there is prorated fee to be added
So I need to update the amount of my product or the amount in the payment link with the prorated fee
Stripe support told me it was impossible so I was trying to create a product and the link item on the spot and then send the client to the payment link I just created
yeah you can't do this at all with PaymentLinks
and prorating the amount doesn't really make sense since you're going to use PaymentLinks to start your subscription right?
Why aren't you just charging a full month mid-cycle? Like instead of anchoring to the 1st of the month, just start a subscription now