#Simon1709-payment
1 messages · Page 1 of 1 (latest)
hey karbi hope you are well
Is the issue with payment links that you want the link to only be valid for a single payment?
yeah
is that something you can do with payment links
ive seen you can deactivate them so i guess once i get the checkout session response and i know its complete i could make another request to deactivate it
Let me dig around and see if I can think of a good solution
i think on the docs that is the solution
i read up to the tracking payments here
Is it a hard requirement that you use Payment Links, or will Checkout Sessions also work for you?
basically i want to send a link to the customer say we need to add something extra onto their booking we did just charge them over the phone using the standard charges api however we need to be able to email them a link instead of taking details over the phone
Do you know the amount that you want to be charging them ahead of time (before you send the email?)
yeah so we have a form on our app which our operator submits with like the amount, description customer info etc
usually the operator submits the card details too
but we want to change it so the customer doesnt have to give those details to the game operator or any staff member
I think Checkout or Invoices may be a better option for you - Checkout is similar to Payment Links but they are one-time use and can't be paid for multiple times. The only issue with that is that these links expire after 24 hours so it doesn't make sense to email them to your customers (who may want to pay after 24 hours). Instead, in the email you'd put a link to your own page that will automtically create and redirect your customer to checkout.
Invoices is another option and has built in functionality for us to email the Invoice to your user and have them pay through one of our hosted pages
invoices was my next port of call i think, on successful payment does that send a different event to checkout.session.completed
can you create a payment link for connect accounts too?
Invoices don't send a checkout.session.completed event. they send invoice.paid instead
And yes, you can create payment links for conencted accounts
where would i add the application fee
For payment links? Or something else?
never mind i found it