#kefran-paymentlink-product

1 messages · Page 1 of 1 (latest)

exotic spade
#

@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

little mulch
#

Ok so what I'm trying to do is not possible?

exotic spade
#

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

little mulch
#

Yes, I understood a bit after what you meant

exotic spade
#

what are you trying to really do?

little mulch
#

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

exotic spade
#

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

little mulch
#

I know, I would have prefer that, but this gym already has a site working this way for many years now, I'm looking for options before meeting with them soon, but I'll push for what you said

#

Thanks for your time, I appreciate it