#jeb

1 messages · Page 1 of 1 (latest)

long olive
#

Hello, what field are you looking to set via URL?

rigid sorrel
#

The payment field, ie the amount charged

long olive
#

I don't think that is settable in the URL unfortunately. Are you trying to let users define their own price, but you want to set a default?

rigid sorrel
#

No, our ERP is sending links out programatically with our invoices. So each invoice has an amount we would like to include in the URL so that Stripe populates that field based on the URL parameter. E.g., total=1000

#

Right now our customers are manually entering the invoice total based on our email

long olive
#

Gotcha. Looking in to whether there is a way to do that

#

Is there a reason you are using payment links here instead of a low-code solution like our Invoices where you can set these prices programmatically and not let the user change it?

rigid sorrel
#

can we create an invoice using a url with parameters? otherwise we don't want to create an invoice for each order, because it would be duplicative with already generating an invoice in our ERP

long olive
#

I don't think it is possible to do that. I will check in to the payment link side of things again and get back with what I can find

rigid sorrel
#

ok, should I keep this window open?

#

seems like url parameters for stripe links could be improved nontheless

long olive
#

You can if you want. I will send a link to how to do this if it is possible and will put in a feature request for it if it is not

rigid sorrel
#

also, is there a way to get the net amount from a payload?

#

ie total_amount less stripe fees?

#

amount_total**

long olive
#

Good question. I don't think that info is part of the payment intent but will check